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 \
%.d: %.prj
@$(MAKEDEPEND)
-%.prj:
- touch $@
-
--include $(addprefix $(SRC)/,$(PRJ:.prj=.d))
+-include $(SRCPRJ:.prj=.d)
#===============================================================================
-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|' \
<$< >$@