mirror of https://github.com/YosysHQ/yosys.git
Added cleaning of old version_* files to version_* make rule
This commit is contained in:
parent
485e870bcd
commit
e3aa0514f2
3
Makefile
3
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
|
||||
|
|
Loading…
Reference in New Issue