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:
parent
f5a26de775
commit
cfff4ca5d3
4
Makefile
4
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 $@"
|
||||
|
|
|
|||
Loading…
Reference in New Issue