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
/*.src
/*.obj
/*.asm
+3 -5
View File
@@ -92,11 +92,10 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
$(BIN): $(BINFMT_OBJS)
$(call ARCHIVE, $@, $(BINFMT_OBJS))
.depend: Makefile $(BINFMT_SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep
$(Q) touch $@
Make.dep: Makefile $(BINFMT_SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >$@
depend: .depend
depend: Make.dep
clean:
$(call DELFILE, $(BIN))
@@ -104,6 +103,5 @@ clean:
distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep