X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FGNUmakefile;h=8545e9e57da2b3fedb3a43309f3a5291c54b85ab;hb=860543cc7ba0266e41e1d41ac9b6a208f3795f1a;hp=9a7bbeeb5c4b89066577a2c66cf6d7319236514d;hpb=1e4629723d19f96d752235ffde34fe58431431ae;p=sbcl.git diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile index 9a7bbee..8545e9e 100644 --- a/src/runtime/GNUmakefile +++ b/src/runtime/GNUmakefile @@ -36,10 +36,10 @@ include Config C_SRCS =alloc.c backtrace.c breakpoint.c coreparse.c \ - dynbind.c globals.c interr.c interrupt.c \ + dynbind.c gc-common.c globals.c interr.c interrupt.c \ monitor.c parse.c print.c purify.c \ regnames.c run-program.c runtime.c save.c search.c \ - time.c util.c validate.c vars.c wrap.c + thread.c time.c util.c validate.c vars.c wrap.c SRCS= $(C_SRCS) ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC} @@ -52,15 +52,22 @@ sbcl.nm: sbcl sbcl: ${OBJS} $(CC) ${LINKFLAGS} ${OS_LINK_FLAGS} -o $@ ${OBJS} ${OS_LIBS} -lm + .PHONY: clean all clean: - rm -f depend *.o sbcl sbcl.nm core *.tmp ; true + -rm -f depend *.o sbcl sbcl.nm core *.tmp + +TAGS: $(SRCS) + etags $(SRCS) +sbcl.h: genesis/*.h + echo '#include "genesis/config.h"' >sbcl.h + echo '#include "genesis/constants.h"' >>sbcl.h depend: ${C_SRCS} sbcl.h $(CC) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} ${C_SRCS} > 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 +# By including this file, we cause GNU make to automatically "make depend" +# if it can't find it or it is out of date. include depend