problems with files that weren't found.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4269
b7a2c559-68d2-44c3-8de9-
860c34a00d81
# Make the dependencies
.PHONY: depend dep
-depend dep: $(OBJS:.o=.c)
+depend dep: $(INCS) $(OBJS:.o=.c)
@echo "Creating dependency information"
- $(CC) $(CFLAGS) -MM -MG $^ > .depend
+ $(CC) $(CFLAGS) -MM $(OBJS:.o=.c) > .depend
# -----------------------------------------------------------------------------
# Rules to make config includes
# Make the dependencies
.PHONY: depend dep
-depend dep: $(OBJS:.o=.c)
+depend dep: $(INCS) $(OBJS:.o=.c)
@echo "Creating dependency information"
- $(CC) $(CFLAGS) -MM -MG $^ > .depend
+ $(CC) $(CFLAGS) -MM $(OBJS:.o=.c) > .depend
# -----------------------------------------------------------------------------
# Rules to make config includes