0.7.4.8:
[sbcl.git] / src / runtime / GNUmakefile
index 48cb4a9..99c0719 100644 (file)
@@ -55,5 +55,9 @@ clean:
        rm -f depend *.o sbcl sbcl.nm core *.tmp ; true
 
 depend: ${SRCS} sbcl.h
-       $(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $? > depend.tmp
+       $(CC) -MM -E ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} $^ > depend.tmp
        mv -f depend.tmp depend
+
+# By including this file, we cause GNU to automatically make depend if
+# it can't find it or it is out of date
+include depend