mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:33:34 +08:00
Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
-include $(TOPDIR)/.config
|
||||
-include $(TOPDIR)/Make.defs
|
||||
include $(APPDIR)/Make.defs
|
||||
|
||||
@@ -86,12 +85,13 @@ context:
|
||||
depend: .depend
|
||||
|
||||
clean:
|
||||
@rm -f *.o *~ .*.swp .built
|
||||
$(call DELFILE .built)
|
||||
$(call CLEAN)
|
||||
@$(MAKE) -f Makefile.host clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
|
||||
|
||||
distclean: clean
|
||||
@rm -f Make.dep .depend
|
||||
$(call DELFILE Make.dep)
|
||||
$(call DELFILE .depend)
|
||||
|
||||
-include Make.dep
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
# TOPDIR must be defined on the make command line
|
||||
|
||||
-include $(TOPDIR)/.config
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
SRC = host.c
|
||||
@@ -61,7 +60,5 @@ $(BIN): $(SRC)
|
||||
@$(HOSTCC) $(HOSTCFLAGS) $(DEFINES) $^ -o $@
|
||||
|
||||
clean:
|
||||
@rm -f $(BIN) *~ .*.swp *.o
|
||||
$(call DELFILE $(BIN))
|
||||
$(call CLEAN)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user