diff options
Diffstat (limited to 'apps')
85 files changed, 176 insertions, 179 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 diff --git a/apps/graphics/tiff/Makefile b/apps/graphics/tiff/Makefile index 84e3a66bd..b98616bfc 100644 --- a/apps/graphics/tiff/Makefile +++ b/apps/graphics/tiff/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/interpreters/ficl/Makefile b/apps/interpreters/ficl/Makefile index 9a1fa7e71..c306f67fa 100644 --- a/apps/interpreters/ficl/Makefile +++ b/apps/interpreters/ficl/Makefile @@ -95,13 +95,13 @@ debug: @#echo "CFLAGS: $(CFLAGS)" .built: debug $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built context: .depend: debug Makefile $(SRCS) - @$(MKDEP) $(ROOT_DEPPATH) $(SRC_DEPPATH) $(FICL_DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + @$(MKDEP) $(ROOT_DEPPATH) $(SRC_DEPPATH) $(FICL_DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ depend: .depend 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 diff --git a/apps/namedapp/Makefile b/apps/namedapp/Makefile index 29ae343fb..ce16376ae 100644 --- a/apps/namedapp/Makefile +++ b/apps/namedapp/Makefile @@ -55,9 +55,9 @@ SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS) ifeq ($(WINTOOL),y) - BIN = "${shell cygpath -w $(APPDIR)/libapps$(LIBEXT)}" + BIN = ..\\libapps$(LIBEXT) else - BIN = "$(APPDIR)/libapps$(LIBEXT)" + BIN = ../libapps$(LIBEXT) endif ROOTDEPPATH = --dep-path . @@ -75,30 +75,30 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") - @touch .built + $(call ARCHIVE, $(BIN), "$(OBJS)") + $(Q) touch .built .context: @echo "/* List of application requirements, generated during make context. */" > namedapp_list.h @echo "/* List of application entry points, generated during make context. */" > namedapp_proto.h - @touch $@ + $(Q) touch $@ context: .context .depend: Makefile $(SRCS) - @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep - @touch $@ + $(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep + $(Q) touch $@ depend: .depend clean: - @rm -f *.o *~ .*.swp .built + $(Q) rm -f *.o *~ .*.swp .built $(call CLEAN) distclean: clean - @rm -f .context Make.dep .depend - @rm -f namedapp_list.h - @rm -f namedapp_proto.h + $(Q) rm -f .context Make.dep .depend + $(Q) rm -f namedapp_list.h + $(Q) rm -f namedapp_proto.h -include Make.dep diff --git a/apps/netutils/codecs/Makefile b/apps/netutils/codecs/Makefile index 1b7a9aa5c..7bab174de 100644 --- a/apps/netutils/codecs/Makefile +++ b/apps/netutils/codecs/Makefile @@ -68,13 +68,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/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile index 0207fff00..161d8f68f 100644 --- a/apps/netutils/dhcpc/Makefile +++ b/apps/netutils/dhcpc/Makefile @@ -74,13 +74,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/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile index cf91c2390..8468153d4 100644 --- a/apps/netutils/dhcpd/Makefile +++ b/apps/netutils/dhcpd/Makefile @@ -74,13 +74,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/netutils/discover/Makefile b/apps/netutils/discover/Makefile index 609365f63..b14d8040b 100644 --- a/apps/netutils/discover/Makefile +++ b/apps/netutils/discover/Makefile @@ -77,13 +77,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/netutils/ftpc/Makefile b/apps/netutils/ftpc/Makefile index 0544ddb1a..33aee9d8e 100644 --- a/apps/netutils/ftpc/Makefile +++ b/apps/netutils/ftpc/Makefile @@ -90,13 +90,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/netutils/ftpd/Makefile b/apps/netutils/ftpd/Makefile index 158159f54..738eba226 100644 --- a/apps/netutils/ftpd/Makefile +++ b/apps/netutils/ftpd/Makefile @@ -74,13 +74,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/netutils/json/Makefile b/apps/netutils/json/Makefile index a0c99a471..1fe14413b 100644 --- a/apps/netutils/json/Makefile +++ b/apps/netutils/json/Makefile @@ -68,13 +68,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/netutils/resolv/Makefile b/apps/netutils/resolv/Makefile index 423397f3f..04ba2d17b 100644 --- a/apps/netutils/resolv/Makefile +++ b/apps/netutils/resolv/Makefile @@ -74,13 +74,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/netutils/smtp/Makefile b/apps/netutils/smtp/Makefile index 01864da3b..27f8e323a 100644 --- a/apps/netutils/smtp/Makefile +++ b/apps/netutils/smtp/Makefile @@ -74,13 +74,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/netutils/telnetd/Makefile b/apps/netutils/telnetd/Makefile index a07a92b62..922fa638d 100644 --- a/apps/netutils/telnetd/Makefile +++ b/apps/netutils/telnetd/Makefile @@ -74,13 +74,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/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile index d8fb88ad9..b544da850 100644 --- a/apps/netutils/tftpc/Makefile +++ b/apps/netutils/tftpc/Makefile @@ -76,13 +76,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/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile index 38f675043..2f6120f40 100644 --- a/apps/netutils/thttpd/Makefile +++ b/apps/netutils/thttpd/Makefile @@ -106,13 +106,13 @@ cgi-bin/$(SUBDIR_BIN3): cgi-bin cgi-src/$(SUBDIR_BIN3) endif .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/netutils/uiplib/Makefile b/apps/netutils/uiplib/Makefile index 29e569b01..4242c3354 100644 --- a/apps/netutils/uiplib/Makefile +++ b/apps/netutils/uiplib/Makefile @@ -90,13 +90,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/netutils/webclient/Makefile b/apps/netutils/webclient/Makefile index 5fb6a2bb1..c6f9301bf 100644 --- a/apps/netutils/webclient/Makefile +++ b/apps/netutils/webclient/Makefile @@ -74,13 +74,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/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile index 965de73b2..5fdd6b8d7 100644 --- a/apps/netutils/webserver/Makefile +++ b/apps/netutils/webserver/Makefile @@ -81,13 +81,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/netutils/xmlrpc/Makefile b/apps/netutils/xmlrpc/Makefile index 3efdf0778..e8118d7e2 100644 --- a/apps/netutils/xmlrpc/Makefile +++ b/apps/netutils/xmlrpc/Makefile @@ -76,13 +76,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/nshlib/Makefile b/apps/nshlib/Makefile index 46dbdd0b1..a16644c03 100644 --- a/apps/nshlib/Makefile +++ b/apps/nshlib/Makefile @@ -110,14 +110,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/system/free/Makefile b/apps/system/free/Makefile index 2fe5c455d..3a318a492 100644 --- a/apps/system/free/Makefile +++ b/apps/system/free/Makefile @@ -83,7 +83,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -97,7 +97,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/system/i2c/Makefile b/apps/system/i2c/Makefile index 074906a6d..3bad93675 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -73,7 +73,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built .context: @@ -83,8 +83,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/system/install/Makefile b/apps/system/install/Makefile index 6e85bba0c..cf6371092 100644 --- a/apps/system/install/Makefile +++ b/apps/system/install/Makefile @@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -98,7 +98,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/system/poweroff/Makefile b/apps/system/poweroff/Makefile index 92949d93c..6956755fc 100644 --- a/apps/system/poweroff/Makefile +++ b/apps/system/poweroff/Makefile @@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -98,7 +98,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/system/ramtron/Makefile b/apps/system/ramtron/Makefile index cb771a9cc..339b99fa9 100644 --- a/apps/system/ramtron/Makefile +++ b/apps/system/ramtron/Makefile @@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -98,7 +98,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/system/readline/Makefile b/apps/system/readline/Makefile index d5db043ca..471a811a3 100644 --- a/apps/system/readline/Makefile +++ b/apps/system/readline/Makefile @@ -74,7 +74,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Context build phase target @@ -84,7 +84,7 @@ context: # Dependency build phase target .depend: Makefile $(SRCS) - @$(MKDEP) $(ROOTDEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + @$(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep @touch $@ depend: .depend diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile index 555ca151b..4600cdf68 100644 --- a/apps/system/sdcard/Makefile +++ b/apps/system/sdcard/Makefile @@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -98,7 +98,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/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index 2b269deb5..9f317e123 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -84,7 +84,7 @@ $(COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) .built: $(OBJS) - $(call ARCHIVE, $@, "$(OBJS)") + $(call ARCHIVE, $(BIN), "$(OBJS)") @touch .built # Register application @@ -98,7 +98,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 |