projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.4.8:
[sbcl.git]
/
src
/
runtime
/
GNUmakefile
diff --git
a/src/runtime/GNUmakefile
b/src/runtime/GNUmakefile
index
128a7ba
..
99c0719
100644
(file)
--- a/
src/runtime/GNUmakefile
+++ b/
src/runtime/GNUmakefile
@@
-14,8
+14,6
@@
all: sbcl sbcl.nm
# defaults which might be overridden or modified by values in the
# Config file
# defaults which might be overridden or modified by values in the
# Config file
-#
-#
CFLAGS = -g -Wall -O3
ASFLAGS = $(CFLAGS)
DEPEND_FLAGS =
CFLAGS = -g -Wall -O3
ASFLAGS = $(CFLAGS)
DEPEND_FLAGS =
@@
-52,12
+50,14
@@
sbcl.nm: sbcl
sbcl: ${OBJS}
$(CC) ${LINKFLAGS} ${OS_LINK_FLAGS} -o $@ ${OBJS} ${OS_LIBS} -lm
sbcl: ${OBJS}
$(CC) ${LINKFLAGS} ${OS_LINK_FLAGS} -o $@ ${OBJS} ${OS_LIBS} -lm
-undefineds.o: undefineds.h undefineds.c
-
.PHONY: clean all
clean:
rm -f depend *.o sbcl sbcl.nm core *.tmp ; true
depend: ${SRCS} sbcl.h
.PHONY: clean all
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
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