summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 18:23:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 18:23:08 +0000
commit45dd00a858ab5294f218ab8cda1cc14e6daf7cbc (patch)
tree3ca971f913c5020e3a5c6801f71682d5e3a7ff6c /nuttx/examples
parent28a9cfef1704bbb553cecc1527360553ad56f010 (diff)
downloadpx4-nuttx-45dd00a858ab5294f218ab8cda1cc14e6daf7cbc.tar.gz
px4-nuttx-45dd00a858ab5294f218ab8cda1cc14e6daf7cbc.tar.bz2
px4-nuttx-45dd00a858ab5294f218ab8cda1cc14e6daf7cbc.zip
Using tool-specific clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/ostest/Makefile5
-rw-r--r--nuttx/examples/udp/Makefile5
-rw-r--r--nuttx/examples/uip/Makefile5
3 files changed, 9 insertions, 6 deletions
diff --git a/nuttx/examples/ostest/Makefile b/nuttx/examples/ostest/Makefile
index f473e08d5..05f76f92f 100644
--- a/nuttx/examples/ostest/Makefile
+++ b/nuttx/examples/ostest/Makefile
@@ -89,9 +89,10 @@ $(BIN): $(OBJS)
depend: .depend
clean:
- rm -f $(BIN) *.o *.obj *.rel *.asm *.lst *.sym *.adb *~
+ @rm -f $(BIN) *~ .*.swp
+ $(call CLEAN)
distclean: clean
- rm -f Make.dep .depend
+ @rm -f Make.dep .depend
-include Make.dep
diff --git a/nuttx/examples/udp/Makefile b/nuttx/examples/udp/Makefile
index 1d3e67590..a4d4fdd5e 100644
--- a/nuttx/examples/udp/Makefile
+++ b/nuttx/examples/udp/Makefile
@@ -95,9 +95,10 @@ $(HOST_BIN): $(HOST_OBJS)
depend: .depend
clean:
- rm -f $(TARG_BIN) $(HOST_BIN) *.o *.obj *.rel *.asm *.lst *.sym *.adb *~
+ @rm -f $(TARG_BIN) $(HOST_BIN) *~ .*.swp
+ $(call CLEAN)
distclean: clean
- rm -f Make.dep .depend
+ @rm -f Make.dep .depend
-include Make.dep
diff --git a/nuttx/examples/uip/Makefile b/nuttx/examples/uip/Makefile
index 0408b9b7c..c9b6932d8 100644
--- a/nuttx/examples/uip/Makefile
+++ b/nuttx/examples/uip/Makefile
@@ -66,9 +66,10 @@ $(BIN): $(OBJS)
depend: .depend
clean:
- rm -f $(BIN) *.o *.obj *.rel *.asm *.lst *.sym *.adb *~
+ @rm -f $(BIN) *~ .*.swp
+ $(call CLEAN)
distclean: clean
- rm -f Make.dep .depend
+ @rm -f Make.dep .depend
-include Make.dep