Correctly generate dependency information.

This commit is contained in:
David Given 2013-05-16 22:02:00 +01:00
parent 84f81a442c
commit f70f78b6e4

View file

@ -13,7 +13,7 @@ define cfile-rule
$o: $s
@echo CC $o
@mkdir -p $(dir $o)
@$(CC) $(CFLAGS) $(cflags) -MM -MQ $d -o $d $s
@$(CC) $(CFLAGS) $(cflags) -MM -MQ $o -o $d $s
$(hide) $(CC) $(CFLAGS) $(cflags) -c -o $o $s
endef