From: Clifford Wolf Date: Tue, 20 Aug 2013 08:12:54 +0000 (+0200) Subject: Added cleaning of old version_* files to version_* make rule X-Git-Tag: yosys-0.2.0~494 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3aa0514f22ccdb1b25856ca81462f86f2a5c612;p=yosys.git Added cleaning of old version_* files to version_* make rule --- diff --git a/Makefile b/Makefile index b3a1f46f5..21da88523 100644 --- a/Makefile +++ b/Makefile @@ -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