diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-08-20 10:12:54 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-08-20 10:13:43 +0200 |
commit | e3aa0514f22ccdb1b25856ca81462f86f2a5c612 (patch) | |
tree | 013ed3653a72cff4ef9c9d6ecf7354b1ad0bd37f /Makefile | |
parent | 485e870bcd563c843a257b4c8178589c9c3a3e66 (diff) | |
download | yosys-e3aa0514f22ccdb1b25856ca81462f86f2a5c612.tar.gz yosys-e3aa0514f22ccdb1b25856ca81462f86f2a5c612.tar.bz2 yosys-e3aa0514f22ccdb1b25856ca81462f86f2a5c612.zip |
Added cleaning of old version_* files to version_* make rule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -80,7 +80,8 @@ top-all: $(TARGETS) $(EXTRA_TARGETS) yosys: $(OBJS) $(CXX) -o yosys $(LDFLAGS) $(OBJS) $(LDLIBS) -kernel/version_$(GIT_REV).cc: +kernel/version_$(GIT_REV).cc: Makefile + rm -f kernel/version_*.o kernel/version_*.d kernel/version_*.cc echo "extern const char *yosys_version_str; const char *yosys_version_str=\"Yosys $(YOSYS_VER) (git sha1 $(GIT_REV))\";" > kernel/version_$(GIT_REV).cc yosys-config: yosys-config.in |