X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FGNUmakefile;h=99c0719c8775c3926cf05c022c0489279b504eaf;hb=7f0f521aa3f6b45259c5dfd5f7f11adcd1a7cac6;hp=128a7ba21bdc3259377dd463b8b132af9eaea6c8;hpb=dfa55a883f94470267b626dae77ce7e7dfac3df6;p=sbcl.git diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile index 128a7ba..99c0719 100644 --- 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 -# -# 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 -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