1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

Create the .inc files before creating the dependency file, so we avoid

problems with files that weren't found.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4269 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-09-29 11:59:10 +00:00
parent b5f25efad5
commit 16f05a78c2
2 changed files with 4 additions and 4 deletions

View File

@ -108,9 +108,9 @@ zap: clean
# 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

View File

@ -115,9 +115,9 @@ zap: clean
# 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