# defaults which might be overridden or modified by values in the
# Config file
-#
-#
CFLAGS = -g -Wall -O3
ASFLAGS = $(CFLAGS)
DEPEND_FLAGS =
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
- $(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