mirror of
https://github.com/cc65/cc65.git
synced 2025-02-05 20:31:53 +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:
parent
b5f25efad5
commit
16f05a78c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user