diff --git a/config.gnu.mk b/config.gnu.mk index 7cd9677..777c273 100644 --- a/config.gnu.mk +++ b/config.gnu.mk @@ -66,7 +66,7 @@ GEN_NEWS= grep '^$(shell git tag -n1 `git describe`)' $@ || \ CFLAGS_STD= $(CC_STD:%=-std=%) $(CFLAGS_PIC) CXXFLAGS_STD= $(CXX_STD:%=-std=%) $(CFLAGS_PIC) -CFLAGS_DEPENDENCIES= -MD -MP -MF $(@).d -MT $@ +CFLAGS_DEPENDENCIES= -MD -MP -MF "$(@).d" -MT "$(@:$(MIQ_OBJDIR)%=\$$(MIQ_OBJDIR)%)" CFLAGS_TARGET_debug= -g -Wall -fno-inline CFLAGS_TARGET_opt= -g -O3 -Wall