mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 10:43: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:
@@ -87,12 +87,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
|
||||
|
||||
|
||||
@@ -71,7 +71,9 @@ $(BIN): headers $(OBJS)
|
||||
$(HOSTCC) $(HOSTLDFLAGS) $(OBJS) -o $@
|
||||
|
||||
clean:
|
||||
@rm -f $(BIN).* *.o1 *~
|
||||
$(call DELFILE $(BIN).*)
|
||||
$(call DELFILE *.o1)
|
||||
$(call CLEAN)
|
||||
@rm -rf include
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user