diff --git a/src/GNUmakefile b/src/GNUmakefile index faa67106..1f33d99d 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -158,7 +158,7 @@ else DLL_NAME ?= ../lib/libkms.so endif -BASECFLAGS = -DVLMCSD_COMPILER=\"$(notdir $(CC))\" -DVLMCSD_PLATFORM=\"$(TARGETPLATFORM)\" -DCONFIG=\"$(CONFIG)\" -DBUILD_TIME=$(shell date '+%s') -g -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections +BASECFLAGS = -DVLMCSD_COMPILER=\"$(notdir $(CC))\" -DVLMCSD_PLATFORM=\"$(TARGETPLATFORM)\" -DCONFIG=\"$(CONFIG)\" -DBUILD_TIME=$(shell date '+%s') -MD -g -Os -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections BASELDFLAGS = STRIPFLAGS = CLIENTLDFLAGS = @@ -651,3 +651,7 @@ dnsclean: help: @echo "Help is available by typing 'make help' in directory $(shell realpath `pwd`/..). Use 'cd ..' to get there." + +OBJS=../build/*.o +# Pull-in dependencies generated by -MD +-include $(OBJS:.o=.d)