]> git.sur5r.net Git - c128-kasse/commitdiff
Depend on all include files in Makefile, so that we can get rid of dummies
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Oct 2009 12:04:42 +0000 (13:04 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Oct 2009 12:04:42 +0000 (13:04 +0100)
include/{cat,itemz}.h were empty and only needed for the build before

Makefile
include/cat.h [deleted file]
include/itemz.h [deleted file]

index 40ab3c06c40431d5421ae3b86c0fbaae1ce68719..e9d2d8a2b0891e47caa7f23a66145aafd2faf246 100644 (file)
--- 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 (file)
index e69de29..0000000
diff --git a/include/itemz.h b/include/itemz.h
deleted file mode 100644 (file)
index e69de29..0000000