diff --git a/src/sbbs3/scfg/GNUmakefile b/src/sbbs3/scfg/GNUmakefile index 9f811930bf282fb575dc20f8bda87d9fb866ab5a..53574f0d116feeb32e9f2da898b72b7c5b1049ae 100644 --- a/src/sbbs3/scfg/GNUmakefile +++ b/src/sbbs3/scfg/GNUmakefile @@ -40,6 +40,7 @@ LIBDIR := /usr/lib DELETE = rm -f -v OUTLIB = -o +CFLAGS += -MMD CFLAGS += -Wall -I$(UIFC) -I$(XPDEV) -I/usr/local/include -I../ -D_THREAD_SAFE LFLAGS := -L/usr/local/lib @@ -103,5 +104,5 @@ $(SCFG): $(OBJS) @echo Linking $@ @$(CC) -o $@ $(OBJS) $(LFLAGS) -include depends.mk # defines dependencies - +# Auto-dependency files +-include $(ODIR)/*.d