make source a dependency for the c.o rule
authorDale Weiler <killfieldengine@gmail.com>
Sun, 16 Jun 2013 08:35:58 +0000 (08:35 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 16 Jun 2013 08:35:58 +0000 (08:35 +0000)
BSDmakefile

index 654fe5f..4dc4bec 100644 (file)
@@ -38,7 +38,7 @@ TESTSUITE = testsuite
 PAK       = gmqpak
 
 #standard rules
-c.o:
+c.o: ${.IMPSRC} 
        $(CC) -c ${.IMPSRC} -o ${.TARGET} $(CPPFLAGS) $(CFLAGS)
 
 exec-standalone.o: exec.c