From: Timo Korvola Date: Thu, 12 Apr 2018 21:45:03 +0000 (+0300) Subject: Tweak dependency generation options. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=fef1510206dc1329675c250448f4c2dbad4780e7;p=liskon_frotz.git Tweak dependency generation options. Add -MP, which creates a dummy rule for each header. Drop -MF, which appears redundant. --- diff --git a/src/sdl/Makefile b/src/sdl/Makefile index f95f28c..af002d8 100644 --- a/src/sdl/Makefile +++ b/src/sdl/Makefile @@ -30,7 +30,7 @@ clean: %.o: %.c %.o: %.c %.d - $(CC) -MMD -MF $*.d $(CFLAGS) -c $< + $(CC) -MMD -MP $(CFLAGS) -c $< $(DEPS):;