summaryrefslogtreecommitdiff
path: root/apps/examples/modbus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/modbus/Makefile')
-rw-r--r--apps/examples/modbus/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile
index 78ea568d0..10abd8780 100644
--- a/apps/examples/modbus/Makefile
+++ b/apps/examples/modbus/Makefile
@@ -76,7 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -88,7 +88,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend