From 611a46151ae734ec388b568c328f0032126ef441 Mon Sep 17 00:00:00 2001 From: Vladimir Burian Date: Mon, 25 Jul 2011 21:34:56 +0200 Subject: [PATCH] Dependency changed Project is not dependant on the *.prj files, but directly on HDL source files. --- build/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build/Makefile b/build/Makefile index bf7d0f7..943fb60 100644 --- a/build/Makefile +++ b/build/Makefile @@ -114,10 +114,10 @@ endif synthesize: $(NGC) -re-synthesize $(NGC): $(addprefix $(SRC)/,$(PRJ)) +re-synthesize $(NGC): $(SRCPRJ) echo " \ run \ - $(addprefix -ifn $(SRC)/,$(PRJ)) \ + $(addprefix -ifn ,$(SRCPRJ)) \ -ifmt mixed \ -ofn $(TOP).ngc \ -ofmt NGC \ @@ -181,10 +181,7 @@ clean: %.d: %.prj @$(MAKEDEPEND) -%.prj: - touch $@ - --include $(addprefix $(SRC)/,$(PRJ:.prj=.d)) +-include $(SRCPRJ:.prj=.d) #=============================================================================== @@ -194,6 +191,6 @@ MAKEDEPEND = sed \ -e 's/^ //' -e 's/ $$//' \ -e '/"/d' \ -e '/^$$/d' \ - -e 's|\(.*\) \(.*\) \(.*\)|$<: $(dir $<)\3\n$(dir $<)\3:\n|' \ + -e 's|\(.*\) \(.*\) \(.*\)|$(NGC) $(NCD): $(dir $<)\3\n$(dir $<)\3:\n|' \ <$< >$@ -- 2.39.2