]> pd.if.org Git - pdclib/commitdiff
Fix for #26.
authorsolar <unknown>
Sat, 19 Jun 2010 15:35:43 +0000 (15:35 +0000)
committersolar <unknown>
Sat, 19 Jun 2010 15:35:43 +0000 (15:35 +0000)
Makefile

index afd9eb58648a37f686372a3d791a9f4b343c681e..3331fa51dac649988e8df5bc44009edd17e5d5ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ help:
 
 %.o: %.c Makefile
        @echo " CC      $(patsubst functions/%,%,$@)"
 
 %.o: %.c Makefile
        @echo " CC      $(patsubst functions/%,%,$@)"
-       @$(CC) $(CFLAGS) -MMD -MP -MT "$*.d $*.t" -I./includes -c $< -o $@
+       @$(CC) $(CFLAGS) -MMD -MP -MT "$*.d $*.t $*.o" -I./includes -c $< -o $@
 
 %.t: %.c Makefile pdclib.a
        @echo " CC      $(patsubst functions/%,%,$@)"
 
 %.t: %.c Makefile pdclib.a
        @echo " CC      $(patsubst functions/%,%,$@)"