Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3c65f6bea1
commit
f751d36eee
@ -701,17 +701,30 @@
|
|||||||
makefiles in the build (once it is installed). This make fragment
|
makefiles in the build (once it is installed). This make fragment
|
||||||
should define:
|
should define:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP</li>
|
<li>Tools: <code>CC</code>, <code>LD</code>, <code>AR</code>, <code>NM</code>, <code>OBJCOPY</code>, <code>OBJDUMP</code></li>
|
||||||
<li>Tool options: CFLAGS, LDFLAGS</li>
|
<li>Tool options: <code>CFLAGS</code>, <code>LDFLAGS</code></li>
|
||||||
<li>COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
When this makefile fragment runs, it will be passed TOPDIR which
|
When this makefile fragment runs, it will be passed <code>TOPDIR</code> which
|
||||||
is the path to the root directory of the build. This makefile
|
is the path to the root directory of the build. This makefile
|
||||||
fragment may include ${TOPDIR}/.config to perform configuration
|
fragment should include:
|
||||||
specific settings. For example, the CFLAGS will most likely be
|
|
||||||
different if CONFIG_DEBUG=y.
|
|
||||||
</p>
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>$(TOPDIR)/.config </code> : Nuttx configuration</li>
|
||||||
|
<li><code>$(TOPDIR)/tools/Config.mk</code> : Common definitions</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
Definitions in the <code>Make.defs</code> file probably depend on some of the
|
||||||
|
settings in the .<code>config</code> file. For example, the <code>CFLAGS</code> will most likely be
|
||||||
|
different if <code>CONFIG_DEBUG=y</code>.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The included <code>tools/Config.mk</code> file contains additional definitions that may
|
||||||
|
be overriden in the architecture-specific Make.defs file as necessary:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li><code>COMPILE</code>, <code>ASSEMBLE</code>, <code>ARCHIVE</code>, <code>CLEAN</code>, and <code>MKDEP</code> macros</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>
|
<p>
|
||||||
|
@ -148,7 +148,7 @@ up_mem.h: pass1.mem
|
|||||||
# Combine all objects in this directory into a library
|
# Combine all objects in this directory into a library
|
||||||
|
|
||||||
libarch$(LIBEXT): up_mem.h $(OBJS)
|
libarch$(LIBEXT): up_mem.h $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
# This is a kludge to work around some conflicting symbols in libsdcc.liXqueb
|
# This is a kludge to work around some conflicting symbols in libsdcc.liXqueb
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -130,7 +130,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -125,7 +125,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -123,7 +123,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
# The architecture-specific library
|
# The architecture-specific library
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
# Generate the final NuttX binary by linking the host-specific objects with the NuttX
|
# Generate the final NuttX binary by linking the host-specific objects with the NuttX
|
||||||
# specific objects (with munged names)
|
# specific objects (with munged names)
|
||||||
|
@ -121,7 +121,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -155,7 +155,7 @@ $(HOSTOBJS): %$(OBJEXT): %.c
|
|||||||
# The architecture-specific library
|
# The architecture-specific library
|
||||||
|
|
||||||
libarch$(LIBEXT): $(NUTTXOBJS)
|
libarch$(LIBEXT): $(NUTTXOBJS)
|
||||||
$(call ARCHIVE, $@, "$(NUTTXOBJS)")
|
$(call ARCHIVE, $@, $(NUTTXOBJS))
|
||||||
|
|
||||||
# The "board"-specific library. Of course, there really are no boards in
|
# The "board"-specific library. Of course, there really are no boards in
|
||||||
# the simulation. However, this is a good place to keep parts of the simulation
|
# the simulation. However, this is a good place to keep parts of the simulation
|
||||||
|
@ -131,7 +131,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -88,7 +88,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
@$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
@$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -134,7 +134,7 @@ endif
|
|||||||
# Combine all objects in this directory into a library
|
# Combine all objects in this directory into a library
|
||||||
|
|
||||||
libarch$(LIBEXT): up_mem.h asm_mem.h $(OBJS)
|
libarch$(LIBEXT): up_mem.h asm_mem.h $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
# This builds the libboard library in the board/ subdirectory
|
# This builds the libboard library in the board/ subdirectory
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libarch$(LIBEXT): $(OBJS)
|
libarch$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
board/libboard$(LIBEXT):
|
board/libboard$(LIBEXT):
|
||||||
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRADEFINES=$(EXTRADEFINES)
|
||||||
|
@ -78,7 +78,7 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(BINFMT_OBJS)
|
$(BIN): $(BINFMT_OBJS)
|
||||||
$(call ARCHIVE, $@, "$(BINFMT_OBJS)")
|
$(call ARCHIVE, $@, $(BINFMT_OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(BINFMT_SRCS)
|
.depend: Makefile $(BINFMT_SRCS)
|
||||||
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep
|
||||||
|
@ -103,14 +103,23 @@ Make.defs -- This makefile fragment provides architecture and
|
|||||||
|
|
||||||
Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP
|
Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP
|
||||||
Tool options: CFLAGS, LDFLAGS
|
Tool options: CFLAGS, LDFLAGS
|
||||||
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros
|
|
||||||
|
|
||||||
When this makefile fragment runs, it will be passed TOPDIR which
|
When this makefile fragment runs, it will be passed TOPDIR which
|
||||||
is the path to the root directory of the build. This makefile
|
is the path to the root directory of the build. This makefile
|
||||||
fragment may include ${TOPDIR}/.config to perform configuration
|
fragment should include:
|
||||||
specific settings. For example, the CFLAGS will most likely be
|
|
||||||
|
$(TOPDIR)/.config : Nuttx configuration
|
||||||
|
$(TOPDIR)/tools/Config.mk : Common definitions
|
||||||
|
|
||||||
|
Definitions in the Make.defs file probably depend on some of the
|
||||||
|
settings in the .config file. For example, the CFLAGS will most likely be
|
||||||
different if CONFIG_DEBUG=y.
|
different if CONFIG_DEBUG=y.
|
||||||
|
|
||||||
|
The included tools/Config.mk file contains additional definitions that may
|
||||||
|
be overriden in the architecture-specific Make.defs file as necessary:
|
||||||
|
|
||||||
|
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros
|
||||||
|
|
||||||
defconfig -- This is a configuration file similar to the Linux
|
defconfig -- This is a configuration file similar to the Linux
|
||||||
configuration file. In contains variable/value pairs like:
|
configuration file. In contains variable/value pairs like:
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -60,7 +60,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -60,7 +60,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -68,7 +68,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -64,7 +64,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -166,16 +166,17 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
define CLEAN
|
define CLEAN
|
||||||
$(Q) rm -f *.obj *.src *.lib *.hex *.lod *.lst
|
$(Q) rm -f *.obj *.src *.lib *.hex *.lod *.lst
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -166,11 +166,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -71,7 +71,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -107,7 +107,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -86,7 +86,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -67,7 +67,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -104,7 +104,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -54,7 +54,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -77,7 +77,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -66,7 +66,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -84,7 +84,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -73,7 +73,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -69,7 +69,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -70,7 +70,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -68,7 +68,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -79,7 +79,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -83,7 +83,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -56,7 +56,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -63,7 +63,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -76,7 +76,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -127,7 +127,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -62,7 +62,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
@$(AR) $@ # Create an empty archive
|
@$(AR) $@ # Create an empty archive
|
||||||
ifneq ($(OBJS),)
|
ifneq ($(OBJS),)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -111,7 +111,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -111,7 +111,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -119,7 +119,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -63,7 +63,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -123,7 +123,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -88,7 +88,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -83,7 +83,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -85,7 +85,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -79,7 +79,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -81,7 +81,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -158,11 +158,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -158,11 +158,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -64,7 +64,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -56,7 +56,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -191,11 +191,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -64,7 +64,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -191,11 +191,11 @@ endef
|
|||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
echo "AR: $2";
|
echo "AR: $2";
|
||||||
$(Q) for %%G in ($(subst ",,$(2))) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
$(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G )
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
$(Q) for __obj in $(subst ",,$(2)) ; do \
|
$(Q) for __obj in $(2) ; do \
|
||||||
echo "AR: $$__obj"; \
|
echo "AR: $$__obj"; \
|
||||||
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
"$(AR)" $(ARFLAGS) $1=-+$$__obj || { echo "$(AR) $1=-+$$__obj FAILED!" ; exit 1 ; } \
|
||||||
done
|
done
|
||||||
|
@ -64,7 +64,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
libboard$(LIBEXT): $(OBJS)
|
libboard$(LIBEXT): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
@$(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -102,7 +102,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -120,7 +120,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
$(Q) $(MKDEP) --dep-path . $(MMAPDEPPATH) $(FATDEPPATH) $(ROMFSDEPPATH) $(NXFFSDEPPATH) $(NFSDEPPATH) \
|
$(Q) $(MKDEP) --dep-path . $(MMAPDEPPATH) $(FATDEPPATH) $(ROMFSDEPPATH) $(NXFFSDEPPATH) $(NFSDEPPATH) \
|
||||||
|
@ -186,7 +186,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
mklibgraphics: gensources $(BIN)
|
mklibgraphics: gensources $(BIN)
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
ifneq ($(BIN),$(UBIN))
|
ifneq ($(BIN),$(UBIN))
|
||||||
.userlib:
|
.userlib:
|
||||||
@ -108,7 +108,11 @@ depend: .depend
|
|||||||
|
|
||||||
uclean:
|
uclean:
|
||||||
ifneq ($(OBJEXT),)
|
ifneq ($(OBJEXT),)
|
||||||
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
|
$(Q) if exist .userlib ]; then del *$(OBJEXT)
|
||||||
|
else
|
||||||
$(Q) ( if [ -f .userlib ]; then rm -f *$(OBJEXT); fi )
|
$(Q) ( if [ -f .userlib ]; then rm -f *$(OBJEXT); fi )
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
$(Q) rm -f .userlib *~ .*.swp
|
$(Q) rm -f .userlib *~ .*.swp
|
||||||
|
|
||||||
@ -116,7 +120,11 @@ endif
|
|||||||
|
|
||||||
kclean:
|
kclean:
|
||||||
ifneq ($(OBJEXT),)
|
ifneq ($(OBJEXT),)
|
||||||
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
|
$(Q) if exist .kernlib ]; then del *$(OBJEXT)
|
||||||
|
else
|
||||||
$(Q) ( if [ -f .kernlib ]; then rm -f *$(OBJEXT); fi )
|
$(Q) ( if [ -f .kernlib ]; then rm -f *$(OBJEXT); fi )
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
$(Q) rm -f .kernlib *~ .*.swp
|
$(Q) rm -f .kernlib *~ .*.swp
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
|
|||||||
$(call COMPILEXX, $<, $@)
|
$(call COMPILEXX, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -61,7 +61,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
|
@ -100,7 +100,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
ifeq ($(CONFIG_NET),y)
|
ifeq ($(CONFIG_NET),y)
|
||||||
|
@ -196,7 +196,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN): $(OBJS)
|
$(BIN): $(OBJS)
|
||||||
$(call ARCHIVE, $@, "$(OBJS)")
|
$(call ARCHIVE, $@, $(OBJS))
|
||||||
|
|
||||||
.depend: Makefile $(SRCS)
|
.depend: Makefile $(SRCS)
|
||||||
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
|
||||||
@ -205,7 +205,7 @@ $(BIN): $(OBJS)
|
|||||||
depend: .depend
|
depend: .depend
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(Q) rm -f $(BIN) *~ .*.swp
|
$(Q) rm -f $(BIN)
|
||||||
$(call CLEAN)
|
$(call CLEAN)
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
@ -72,7 +72,7 @@ $(COBJS): %$(OBJEXT): %.c
|
|||||||
$(call COMPILE, $<, $@)
|
$(call COMPILE, $<, $@)
|
||||||
|
|
||||||
$(BIN1): $(PROXY_OBJS)
|
$(BIN1): $(PROXY_OBJS)
|
||||||
$(call ARCHIVE, $@, "$(PROXY_OBJS)")
|
$(call ARCHIVE, $@, $(PROXY_OBJS))
|
||||||
|
|
||||||
$(BIN2): $(STUB_OBJS)
|
$(BIN2): $(STUB_OBJS)
|
||||||
$(call ARCHIVE, $@, "$(STUB_OBJS)")
|
$(call ARCHIVE, $@, "$(STUB_OBJS)")
|
||||||
|
@ -145,15 +145,19 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
|||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
@echo "AR: $2"
|
@echo "AR: $2"
|
||||||
$(AR) $1
|
$(AR) $1
|
||||||
$(Q) $(AR) $1 $(subst ",,$(2))
|
$(Q) $(AR) $1 $(2)
|
||||||
endef
|
endef
|
||||||
else
|
else
|
||||||
define ARCHIVE
|
define ARCHIVE
|
||||||
@echo "AR: $2"
|
@echo "AR: $2"
|
||||||
$(Q) $(AR) $1 $(subst ",,$(2)) || { echo "$(AR) $1 FAILED!" ; exit 1 ; }
|
$(Q) $(AR) $1 $(2) || { echo "$(AR) $1 FAILED!" ; exit 1 ; }
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define CLEAN
|
define CLEAN
|
||||||
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
$(Q) rm -f *.o *.a
|
$(Q) rm -f *.o *.a
|
||||||
|
else
|
||||||
|
$(Q) rm -f *.o *.a *~ .*.swp
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user