]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
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 654fe5f09a56201f2c5397e3d7f8765e799cf6aa..4dc4bec3516fde4bf7b57299b8de864a2aedf3b0 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