summaryrefslogtreecommitdiff
path: root/apps/modbus
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
commita444a16f4746959a1332cb21749fbdf9a31df091 (patch)
treed220ebef3bfba64591298b4c51a0c0dd6e10ae0b /apps/modbus
parentb023c1b10ea54b6fc54f0ec747c766187c58190f (diff)
downloadnuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.gz
nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.bz2
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/Makefile13
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