summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/adc/Makefile4
-rw-r--r--apps/examples/buttons/Makefile4
-rw-r--r--apps/examples/can/Makefile4
-rw-r--r--apps/examples/cdcacm/Makefile4
-rw-r--r--apps/examples/composite/Makefile4
-rw-r--r--apps/examples/cxxtest/Makefile4
-rw-r--r--apps/examples/dhcpd/Makefile4
-rw-r--r--apps/examples/discover/Makefile4
-rw-r--r--apps/examples/elf/Makefile2
-rw-r--r--apps/examples/ftpc/Makefile4
-rw-r--r--apps/examples/ftpd/Makefile4
-rw-r--r--apps/examples/hello/Makefile4
-rw-r--r--apps/examples/helloxx/Makefile4
-rw-r--r--apps/examples/hidkbd/Makefile4
-rw-r--r--apps/examples/igmp/Makefile4
-rw-r--r--apps/examples/json/Makefile4
-rw-r--r--apps/examples/lcdrw/Makefile4
-rw-r--r--apps/examples/mm/Makefile4
-rw-r--r--apps/examples/modbus/Makefile4
-rw-r--r--apps/examples/mount/Makefile4
-rw-r--r--apps/examples/nettest/Makefile4
-rw-r--r--apps/examples/nsh/Makefile4
-rw-r--r--apps/examples/null/Makefile4
-rw-r--r--apps/examples/nx/Makefile4
-rw-r--r--apps/examples/nxconsole/Makefile4
-rw-r--r--apps/examples/nxffs/Makefile4
-rw-r--r--apps/examples/nxflat/Makefile2
-rw-r--r--apps/examples/nxhello/Makefile4
-rw-r--r--apps/examples/nximage/Makefile4
-rw-r--r--apps/examples/nxlines/Makefile4
-rw-r--r--apps/examples/nxtext/Makefile4
-rw-r--r--apps/examples/ostest/Makefile4
-rw-r--r--apps/examples/pashello/Makefile4
-rw-r--r--apps/examples/pipe/Makefile4
-rw-r--r--apps/examples/poll/Makefile4
-rw-r--r--apps/examples/pwm/Makefile4
-rw-r--r--apps/examples/qencoder/Makefile4
-rw-r--r--apps/examples/relays/Makefile4
-rw-r--r--apps/examples/rgmp/Makefile4
-rw-r--r--apps/examples/romfs/Makefile4
-rw-r--r--apps/examples/sendmail/Makefile4
-rw-r--r--apps/examples/serloop/Makefile4
-rw-r--r--apps/examples/telnetd/Makefile4
-rw-r--r--apps/examples/thttpd/Makefile4
-rw-r--r--apps/examples/tiff/Makefile4
-rw-r--r--apps/examples/touchscreen/Makefile4
-rw-r--r--apps/examples/udp/Makefile2
-rw-r--r--apps/examples/uip/Makefile4
-rw-r--r--apps/examples/usbserial/Makefile4
-rw-r--r--apps/examples/usbstorage/Makefile4
-rw-r--r--apps/examples/usbterm/Makefile4
-rw-r--r--apps/examples/watchdog/Makefile4
-rw-r--r--apps/examples/wget/Makefile4
-rw-r--r--apps/examples/wgetjson/Makefile4
-rw-r--r--apps/examples/wlan/Makefile4
-rw-r--r--apps/examples/xmlrpc/Makefile4
56 files changed, 109 insertions, 109 deletions
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile
index 7b5259716..fab1a91ab 100644
--- a/apps/examples/adc/Makefile
+++ b/apps/examples/adc/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
diff --git a/apps/examples/buttons/Makefile b/apps/examples/buttons/Makefile
index c05043480..780941562 100644
--- a/apps/examples/buttons/Makefile
+++ b/apps/examples/buttons/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
diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile
index d5c7a04ef..35c7538f3 100644
--- a/apps/examples/can/Makefile
+++ b/apps/examples/can/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
diff --git a/apps/examples/cdcacm/Makefile b/apps/examples/cdcacm/Makefile
index 71cd2f3af..3ffdf82b4 100644
--- a/apps/examples/cdcacm/Makefile
+++ b/apps/examples/cdcacm/Makefile
@@ -80,7 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -91,7 +91,7 @@ $(COBJS): %$(OBJEXT): %.c
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/composite/Makefile b/apps/examples/composite/Makefile
index 80292dbfa..a8563ee61 100644
--- a/apps/examples/composite/Makefile
+++ b/apps/examples/composite/Makefile
@@ -80,7 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -93,7 +93,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/cxxtest/Makefile b/apps/examples/cxxtest/Makefile
index ac70a34f9..a2c29169f 100644
--- a/apps/examples/cxxtest/Makefile
+++ b/apps/examples/cxxtest/Makefile
@@ -93,7 +93,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
.built: chkcxx $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -105,7 +105,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile
index ceaa3b022..8b39c58d4 100644
--- a/apps/examples/dhcpd/Makefile
+++ b/apps/examples/dhcpd/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
diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile
index a3e90399c..f4801c569 100644
--- a/apps/examples/discover/Makefile
+++ b/apps/examples/discover/Makefile
@@ -77,7 +77,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -89,7 +89,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile
index ab49532c8..1c7ac4a23 100644
--- a/apps/examples/elf/Makefile
+++ b/apps/examples/elf/Makefile
@@ -75,7 +75,7 @@ $(COBJS): %$(OBJEXT): %.c
# generating the source files.
really_build: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.built:
diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile
index ca630c814..96ed512e2 100644
--- a/apps/examples/ftpc/Makefile
+++ b/apps/examples/ftpc/Makefile
@@ -74,7 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
# Register application
@@ -88,7 +88,7 @@ context: .context
# Create dependencies
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile
index bf0e435d7..f6bab4f40 100644
--- a/apps/examples/ftpd/Makefile
+++ b/apps/examples/ftpd/Makefile
@@ -71,7 +71,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -84,7 +84,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile
index dc9c6c25c..a556e6f0f 100644
--- a/apps/examples/hello/Makefile
+++ b/apps/examples/hello/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
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 63da0bde3..de9b1cf9f 100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -93,7 +93,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
.built: chkcxx $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -105,7 +105,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile
index bd060d83a..36762825c 100644
--- a/apps/examples/hidkbd/Makefile
+++ b/apps/examples/hidkbd/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile
index f6a171d49..cf65c41bd 100644
--- a/apps/examples/igmp/Makefile
+++ b/apps/examples/igmp/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile
index 9c3ac61b6..0880193ad 100644
--- a/apps/examples/json/Makefile
+++ b/apps/examples/json/Makefile
@@ -74,7 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -86,7 +86,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/lcdrw/Makefile b/apps/examples/lcdrw/Makefile
index c0b6efb8d..0de93c9e9 100644
--- a/apps/examples/lcdrw/Makefile
+++ b/apps/examples/lcdrw/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
diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile
index e73cd9baa..aff99d460 100644
--- a/apps/examples/mm/Makefile
+++ b/apps/examples/mm/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
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
diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile
index fd6a4b963..d19f2894a 100644
--- a/apps/examples/mount/Makefile
+++ b/apps/examples/mount/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile
index 09a7c42dd..979a2391e 100644
--- a/apps/examples/nettest/Makefile
+++ b/apps/examples/nettest/Makefile
@@ -112,7 +112,7 @@ $(HOST_BIN): $(HOST_OBJS)
@$(HOSTCC) $(HOSTLDFLAGS) $(HOST_OBJS) -o $@
.built: $(TARG_OBJS)
- $(call ARCHIVE, $@, "$(TARG_OBJS)")
+ $(call ARCHIVE, $(BIN), "$(TARG_OBJS)")
@touch .built
.context:
@@ -124,7 +124,7 @@ endif
context: .context
.depend: Makefile $(TARG_SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(TARG_SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(TARG_SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile
index b0efd9aa1..600ea7090 100644
--- a/apps/examples/nsh/Makefile
+++ b/apps/examples/nsh/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile
index 6234f77ea..baa9ac2c3 100644
--- a/apps/examples/null/Makefile
+++ b/apps/examples/null/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile
index 6b670d83d..d8befe558 100644
--- a/apps/examples/nx/Makefile
+++ b/apps/examples/nx/Makefile
@@ -79,7 +79,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -91,7 +91,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nxconsole/Makefile b/apps/examples/nxconsole/Makefile
index a478e6bde..bbbf67812 100644
--- a/apps/examples/nxconsole/Makefile
+++ b/apps/examples/nxconsole/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile
index 28c869e16..2ae286cd0 100644
--- a/apps/examples/nxffs/Makefile
+++ b/apps/examples/nxffs/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile
index e8a15a859..3a34f1fa3 100644
--- a/apps/examples/nxflat/Makefile
+++ b/apps/examples/nxflat/Makefile
@@ -73,7 +73,7 @@ headers:
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile
index 37d76b842..79b169a77 100644
--- a/apps/examples/nxhello/Makefile
+++ b/apps/examples/nxhello/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
diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile
index f428009a2..0e8c3b0de 100644
--- a/apps/examples/nximage/Makefile
+++ b/apps/examples/nximage/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
diff --git a/apps/examples/nxlines/Makefile b/apps/examples/nxlines/Makefile
index 2127f1b61..e12e310b8 100644
--- a/apps/examples/nxlines/Makefile
+++ b/apps/examples/nxlines/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
diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile
index ff8f1da69..0510992da 100644
--- a/apps/examples/nxtext/Makefile
+++ b/apps/examples/nxtext/Makefile
@@ -80,7 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -92,7 +92,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile
index e73abfb47..7c4354b1d 100644
--- a/apps/examples/ostest/Makefile
+++ b/apps/examples/ostest/Makefile
@@ -120,7 +120,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -132,7 +132,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile
index c5103f2c6..2e2e428e9 100644
--- a/apps/examples/pashello/Makefile
+++ b/apps/examples/pashello/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile
index d484d9fd9..8afb29188 100644
--- a/apps/examples/pipe/Makefile
+++ b/apps/examples/pipe/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile
index 204acbb5e..1483f5342 100644
--- a/apps/examples/poll/Makefile
+++ b/apps/examples/poll/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
# Register application
diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile
index 4a01293af..beeb25e7c 100644
--- a/apps/examples/pwm/Makefile
+++ b/apps/examples/pwm/Makefile
@@ -76,7 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -86,7 +86,7 @@ $(COBJS): %$(OBJEXT): %.c
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/qencoder/Makefile b/apps/examples/qencoder/Makefile
index 5959d14a3..d6eaaf6cb 100644
--- a/apps/examples/qencoder/Makefile
+++ b/apps/examples/qencoder/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
diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile
index 72d2faa95..fdb792773 100644
--- a/apps/examples/relays/Makefile
+++ b/apps/examples/relays/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
diff --git a/apps/examples/rgmp/Makefile b/apps/examples/rgmp/Makefile
index 74b6c154b..04aab7bbe 100644
--- a/apps/examples/rgmp/Makefile
+++ b/apps/examples/rgmp/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile
index f82da8fe4..47b08134a 100644
--- a/apps/examples/romfs/Makefile
+++ b/apps/examples/romfs/Makefile
@@ -86,13 +86,13 @@ romfs_testdir.h : testdir.img
@xxd -i $< >$@ || { echo "xxd of $< failed" ; exit 1 ; }
.built: romfs_testdir.h $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
# Register application
diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile
index 0949c7f54..b7c4d32dc 100644
--- a/apps/examples/sendmail/Makefile
+++ b/apps/examples/sendmail/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
# Register application
diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile
index 6c5d849e6..8ec7f0759 100644
--- a/apps/examples/serloop/Makefile
+++ b/apps/examples/serloop/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
# Register application
diff --git a/apps/examples/telnetd/Makefile b/apps/examples/telnetd/Makefile
index 960d22163..3371f90c2 100644
--- a/apps/examples/telnetd/Makefile
+++ b/apps/examples/telnetd/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
diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile
index cfdd45a67..4f303c952 100644
--- a/apps/examples/thttpd/Makefile
+++ b/apps/examples/thttpd/Makefile
@@ -73,13 +73,13 @@ headers:
@$(MAKE) -C content TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
.built: headers $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/tiff/Makefile b/apps/examples/tiff/Makefile
index fb1fb7d34..c86519fde 100644
--- a/apps/examples/tiff/Makefile
+++ b/apps/examples/tiff/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
diff --git a/apps/examples/touchscreen/Makefile b/apps/examples/touchscreen/Makefile
index d0bd2dbc7..c82a94b44 100644
--- a/apps/examples/touchscreen/Makefile
+++ b/apps/examples/touchscreen/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
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 07f2ba80b..0aa2aaa09 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -106,7 +106,7 @@ $(HOST_BIN): $(HOST_OBJS)
context:
.depend: Makefile $(TARG_SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(TARG_SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(TARG_SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile
index 316e01a16..4b4dfc9d9 100644
--- a/apps/examples/uip/Makefile
+++ b/apps/examples/uip/Makefile
@@ -70,7 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
httpd_fsdata.c: httpd-fs/*
@@ -79,7 +79,7 @@ httpd_fsdata.c: httpd-fs/*
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
epend: .depend
diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile
index 7bca96463..06d4ab298 100644
--- a/apps/examples/usbserial/Makefile
+++ b/apps/examples/usbserial/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/usbstorage/Makefile b/apps/examples/usbstorage/Makefile
index 9ee03efc0..a5da68ef0 100644
--- a/apps/examples/usbstorage/Makefile
+++ b/apps/examples/usbstorage/Makefile
@@ -80,7 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -93,7 +93,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile
index 461a98fa3..16d5d4b53 100644
--- a/apps/examples/usbterm/Makefile
+++ b/apps/examples/usbterm/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
diff --git a/apps/examples/watchdog/Makefile b/apps/examples/watchdog/Makefile
index 22613aea2..b55a37218 100644
--- a/apps/examples/watchdog/Makefile
+++ b/apps/examples/watchdog/Makefile
@@ -76,7 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -86,7 +86,7 @@ $(COBJS): %$(OBJEXT): %.c
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile
index ddb7b6bf2..f69ebe71b 100644
--- a/apps/examples/wget/Makefile
+++ b/apps/examples/wget/Makefile
@@ -70,13 +70,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile
index 9687380e9..73e3ed844 100644
--- a/apps/examples/wgetjson/Makefile
+++ b/apps/examples/wgetjson/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
diff --git a/apps/examples/wlan/Makefile b/apps/examples/wlan/Makefile
index 83fb94fc5..3d944b54a 100644
--- a/apps/examples/wlan/Makefile
+++ b/apps/examples/wlan/Makefile
@@ -71,13 +71,13 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
context:
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
diff --git a/apps/examples/xmlrpc/Makefile b/apps/examples/xmlrpc/Makefile
index 87eae9ed2..6cde609dd 100644
--- a/apps/examples/xmlrpc/Makefile
+++ b/apps/examples/xmlrpc/Makefile
@@ -77,7 +77,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- $(call ARCHIVE, $@, "$(OBJS)")
+ $(call ARCHIVE, $(BIN), "$(OBJS)")
@touch .built
.context:
@@ -89,7 +89,7 @@ endif
context: .context
.depend: Makefile $(SRCS)
- @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend