mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Don't generate .depend anymore
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/*.src
|
||||
/*.obj
|
||||
/*.asm
|
||||
|
||||
+3
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user