added "config.h" to dependancies for everything.

I noticed that changing config.h didn't recompile dda.c.
So I changed that.
This commit is contained in:
John Gilmore 2010-10-03 08:40:06 -06:00 committed by Markus Hitter
parent f5a26de775
commit cfff4ca5d3
1 changed files with 2 additions and 2 deletions

View File

@ -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 $@"