summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-22 00:21:57 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-22 00:21:57 +0000
commit0cc8b7113c9b33ee752c33d36a2cd593aae42705 (patch)
treeda870e699ac8ec9622d6362fea811257907cf438 /apps/plugins/doom/Makefile
parent5db8081822baa446bd1c81ac68b75c04b0919112 (diff)
downloadrockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.zip
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.gz
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.bz2
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.xz
Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11307 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/Makefile')
-rw-r--r--apps/plugins/doom/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/plugins/doom/Makefile b/apps/plugins/doom/Makefile
index 678e283..9028909 100644
--- a/apps/plugins/doom/Makefile
+++ b/apps/plugins/doom/Makefile
@@ -3,7 +3,10 @@
# $Id$
#
# $Log$
-# Revision 1.6 2006/09/29 20:04:35 barrywardell
+# Revision 1.7 2006/10/22 00:21:56 amiconn
+# Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible.
+#
+# Revision 1.6 2006-09-29 20:04:35 barrywardell
# Cleaner implementation of the recent OSX simulator build fix. No need to define SHARED_FLAG in each Makefile. Just have configure create it in the root Makefile instead.
#
# Revision 1.5 2006-09-29 16:15:08 barrywardell
@@ -76,12 +79,12 @@ all: $(OUTPUT)
ifndef SIMVER
$(OBJDIR)/doom.elf: $(OBJS) $(LINKFILE)
- @echo "LD "`basename $@`
+ @echo "LD $(notdir $@)"
@$(CC) $(GCCOPTS) $(LDFLAGS) -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc\
-T$(LINKFILE) -Wl,-Map,$(OBJDIR)/doom.map
$(OUTPUT): $(OBJDIR)/doom.elf
- @echo "OBJCOPY "`basename $@`
+ @echo "OBJCOPY $(notdir $@)"
@$(OC) -O binary $< $@
else
@@ -123,7 +126,7 @@ DLLTOOLFLAGS = --export-all
DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
$(OUTPUT): $(OBJS)
- @echo "DLL "`basename $@`
+ @echo "DLL $(notdir $@)"
@$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS)
@$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \
$(BUILDDIR)/libplugin.a -o $@
@@ -144,7 +147,7 @@ include $(TOOLSDIR)/make.inc
# MEMORYSIZE should be passed on to this makefile with the chosen memory size
# given in number of MB
$(LINKFILE): $(LDS)
- @echo "build "`basename $@`
+ @echo "build $(notdir $@)"
@cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) \
-E -P - >$@