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