summaryrefslogtreecommitdiff
path: root/apps/modbus
diff options
context:
space:
mode:
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