Don't generate .depend anymore

This commit is contained in:
Xiang Xiao
2020-03-22 13:15:29 -05:00
committed by GitHub
parent 1b4425ab5d
commit 79af7fbf4e
231 changed files with 155 additions and 460 deletions
-1
View File
@@ -1,5 +1,4 @@
/Make.dep
/.depend
/*.asm
/*.obj
/*.rel
+3 -5
View File
@@ -99,11 +99,10 @@ $(COBJS): %$(OBJEXT): %.c
$(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
Make.dep: Makefile $(SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
depend: .depend
depend: Make.dep
clean:
$(call DELFILE, $(BIN))
@@ -111,6 +110,5 @@ clean:
distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep