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/modbus | |
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/modbus')
-rw-r--r-- | apps/modbus/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/modbus/Makefile b/apps/modbus/Makefile index 59e2e2526..c0f01bc94 100644 --- a/apps/modbus/Makefile +++ b/apps/modbus/Makefile @@ -93,25 +93,28 @@ endif .built: $(OBJS) ifeq ($(CONFIG_MODBUS),y) $(call ARCHIVE, $(BIN), $(OBJS)) - @touch .built + $(Q) touch .built endif context: .depend: Makefile $(SRCS) ifeq ($(CONFIG_MODBUS),y) - @$(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep - @touch $@ + $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep + $(Q) touch $@ endif depend: .depend clean: - @rm -f *.o *~ .*.swp .built + $(call DELFILE .built) $(call CLEAN) distclean: clean - @rm -f Make.dep .depend + $(call DELFILE .context) + $(call DELFILE Make.dep) + $(call DELFILE .depend) + -include Make.dep |