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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user