From: Clifford Wolf Date: Mon, 9 Feb 2015 11:48:15 +0000 (+0100) Subject: Bugfix in "make vcxsrc" X-Git-Tag: yosys-0.5~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8901f405ca0db4153c327d00d6ae23e6c2d6a5d5;p=yosys.git Bugfix in "make vcxsrc" --- diff --git a/Makefile b/Makefile index 05f18695a..1a1f268ce 100644 --- a/Makefile +++ b/Makefile @@ -369,7 +369,7 @@ qtcreator: vcxsrc: $(GENFILES) $(EXTRA_TARGETS) rm -rf yosys-win32-vcxsrc-$(YOSYS_VER){,.zip} - set -e; for f in $(wildcard $(filter %.cc %.cpp,$(GENFILES)) $(addsuffix .cc,$(basename $(OBJS))) $(addsuffix .cpp,$(basename $(OBJS))) 2>/dev/null); do \ + set -e; for f in `ls $(filter %.cc %.cpp,$(GENFILES)) $(addsuffix .cc,$(basename $(OBJS))) $(addsuffix .cpp,$(basename $(OBJS))) 2> /dev/null`; do \ echo "Analyse: $$f" >&2; cpp -std=gnu++0x -MM -I. -D_YOSYS_ $$f; done | sed 's,.*:,,; s,//*,/,g; s,/[^/]*/\.\./,/,g; y, \\,\n\n,;' | grep '^[^/]' | sort -u | grep -v kernel/version_ > srcfiles.txt bash misc/create_vcxsrc.sh yosys-win32-vcxsrc $(YOSYS_VER) $(GIT_REV) echo "namespace Yosys { extern const char *yosys_version_str; const char *yosys_version_str=\"Yosys (Version Information Unavailable)\"; }" > kernel/version.cc