]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - BSDmakefile
make source a dependency for the c.o rule
[xonotic/gmqcc.git] / 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