From 7bf40dd6ff0564295925b5feb4a8a14552ff0807 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 26 Oct 2009 13:04:42 +0100 Subject: [PATCH] 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 --- Makefile | 4 +++- include/cat.h | 0 include/itemz.h | 0 3 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 include/cat.h delete mode 100644 include/itemz.h 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 -- 2.39.5