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 | a444a16f4746959a1332cb21749fbdf9a31df091 (patch) | |
tree | d220ebef3bfba64591298b4c51a0c0dd6e10ae0b /apps/examples/sendmail | |
parent | b023c1b10ea54b6fc54f0ec747c766187c58190f (diff) | |
download | px4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.gz px4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.bz2 px4-nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.zip |
Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/sendmail')
-rw-r--r-- | apps/examples/sendmail/Makefile | 5 | ||||
-rw-r--r-- | apps/examples/sendmail/Makefile.host | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile index e8d05ceab..049321b52 100644 --- a/apps/examples/sendmail/Makefile +++ b/apps/examples/sendmail/Makefile @@ -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 diff --git a/apps/examples/sendmail/Makefile.host b/apps/examples/sendmail/Makefile.host index bef7eebbf..e6ff39540 100644 --- a/apps/examples/sendmail/Makefile.host +++ b/apps/examples/sendmail/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 include |