From: Michael Stapelberg Date: Mon, 26 Oct 2009 12:04:42 +0000 (+0100) Subject: Depend on all include files in Makefile, so that we can get rid of dummies X-Git-Tag: rgb2rv6~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bf40dd6ff0564295925b5feb4a8a14552ff0807;p=c128-kasse Depend on all include files in Makefile, so that we can get rid of dummies include/{cat,itemz}.h were empty and only needed for the build before --- diff --git a/Makefile b/Makefile index 40ab3c0..e9d2d8a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -src/%.o: src/%.c include/%.h +INCLUDES:=$(wildcard include/*.h) + +src/%.o: src/%.c ${INCLUDES} cc65 -O -I include -t c128 $< ca65 -I include -t c128 src/$$(basename $< .c).s diff --git a/include/cat.h b/include/cat.h deleted file mode 100644 index e69de29..0000000 diff --git a/include/itemz.h b/include/itemz.h deleted file mode 100644 index e69de29..0000000