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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
231 changed files with 155 additions and 460 deletions

1
pass1/.gitignore vendored
View file

@ -1,6 +1,5 @@
/*.c
/Make.dep
/.depend
/*.asm
/*.obj
/*.rel

View file

@ -67,11 +67,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))
@ -79,7 +78,6 @@ clean:
distclean: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
$(call DELFILE, *.c)
$(call DELFILE, *.S)