]> git.sur5r.net Git - cc65/commitdiff
Don't complain about missing includes when generating .depend
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 10 Sep 2005 12:27:50 +0000 (12:27 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 10 Sep 2005 12:27:50 +0000 (12:27 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3635 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/make/gcc.mak

index 2a36c017c4f2e42fd9d183390d865e6e59d507ce..3845422e0f444f6f5da5a100a01f05e1f97b59df 100644 (file)
@@ -98,7 +98,7 @@ zap:  clean
 .PHONY: depend dep
 depend dep:    $(OBJS:.o=.c)
        @echo "Creating dependency information"
-       $(CC) -I$(COMMON) -MM $^ > .depend
+       $(CC) -I$(COMMON) -MM -MG $^ > .depend
 
 # -----------------------------------------------------------------------------
 # Rules to make config includes