diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-17 18:54:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-17 18:54:53 +0000 |
commit | d4dca58d933cf2c713ee8ccead6fce329e199320 (patch) | |
tree | d220ebef3bfba64591298b4c51a0c0dd6e10ae0b /apps/examples/wget | |
parent | cc099195b8a4baa726810a7811e341f383d442eb (diff) | |
download | px4-firmware-d4dca58d933cf2c713ee8ccead6fce329e199320.tar.gz px4-firmware-d4dca58d933cf2c713ee8ccead6fce329e199320.tar.bz2 px4-firmware-d4dca58d933cf2c713ee8ccead6fce329e199320.zip |
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
Diffstat (limited to 'apps/examples/wget')
-rw-r--r-- | apps/examples/wget/Makefile | 5 | ||||
-rw-r--r-- | apps/examples/wget/Makefile.host | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile index 859ae999d..d74c248e9 100644 --- a/apps/examples/wget/Makefile +++ b/apps/examples/wget/Makefile @@ -86,12 +86,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 diff --git a/apps/examples/wget/Makefile.host b/apps/examples/wget/Makefile.host index 5d746441a..14da45c7e 100644 --- a/apps/examples/wget/Makefile.host +++ b/apps/examples/wget/Makefile.host @@ -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 net nuttx |