summaryrefslogtreecommitdiff
path: root/apps/modbus
diff options
context:
space:
mode:
Diffstat (limited to 'apps/modbus')
-rw-r--r--apps/modbus/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/modbus/Makefile b/apps/modbus/Makefile
index 01deedb54..321bf09b5 100644
--- a/apps/modbus/Makefile
+++ b/apps/modbus/Makefile
@@ -88,7 +88,7 @@ endif
.built: $(OBJS)
ifeq ($(CONFIG_MODBUS),y)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
endif
@@ -96,8 +96,7 @@ context:
.depend: Makefile $(SRCS)
ifeq ($(CONFIG_MODBUS),y)
- @$(MKDEP) $(DEPPATH) \
- $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
endif