From cfff4ca5d39436c885082d4111b778efd5fce089 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sun, 3 Oct 2010 08:40:06 -0600 Subject: [PATCH] added "config.h" to dependancies for everything. I noticed that changing config.h didn't recompile dda.c. So I changed that. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d8fccb..96a637f 100644 --- a/Makefile +++ b/Makefile @@ -100,9 +100,9 @@ config.h: config.h.dist @echo "Please review config.h, as config.h.dist is more recent." @false -%.o: %.c +%.o: %.c config.h @echo " CC $@" - @$(CC) -c $(CFLAGS) -Wa,-adhlns=$(<:.c=.al) -o $@ $^ + @$(CC) -c $(CFLAGS) -Wa,-adhlns=$(<:.c=.al) -o $@ $(subst .o,.c,$@) %.elf: $(OBJ) @echo " LINK $@"