summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
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/chessbox
parent5db8081822baa446bd1c81ac68b75c04b0919112 (diff)
downloadrockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.tar.gz
rockbox-0cc8b7113c9b33ee752c33d36a2cd593aae42705.zip
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/chessbox')
-rw-r--r--apps/plugins/chessbox/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/chessbox/Makefile b/apps/plugins/chessbox/Makefile
index b79b0eae70..0389493a96 100644
--- a/apps/plugins/chessbox/Makefile
+++ b/apps/plugins/chessbox/Makefile
@@ -40,12 +40,12 @@ all: $(OUTPUT)
40 40
41ifndef SIMVER 41ifndef SIMVER
42$(OBJDIR)/chessbox.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) 42$(OBJDIR)/chessbox.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS)
43 @echo "LD "`basename $@` 43 @echo "LD $(notdir $@)"
44 @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ 44 @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \
45 $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/chessbox.map 45 $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/chessbox.map
46 46
47$(OUTPUT): $(OBJDIR)/chessbox.elf 47$(OUTPUT): $(OBJDIR)/chessbox.elf
48 @echo "OBJCOPY "`basename $@` 48 @echo "OBJCOPY $(notdir $@)"
49 @$(OC) -O binary $< $@ 49 @$(OC) -O binary $< $@
50else 50else
51 51
@@ -87,7 +87,7 @@ DLLTOOLFLAGS = --export-all
87DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin 87DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
88 88
89$(OUTPUT): $(OBJS) 89$(OUTPUT): $(OBJS)
90 @echo "DLL "`basename $@` 90 @echo "DLL $(notdir $@)"
91 @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) 91 @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS)
92 @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ 92 @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \
93 $(BUILDDIR)/libplugin.a $(BITMAPLIBS) -o $@ 93 $(BUILDDIR)/libplugin.a $(BITMAPLIBS) -o $@
@@ -108,7 +108,7 @@ include $(TOOLSDIR)/make.inc
108# MEMORYSIZE should be passed on to this makefile with the chosen memory size 108# MEMORYSIZE should be passed on to this makefile with the chosen memory size
109# given in number of MB 109# given in number of MB
110$(LINKFILE): $(LDS) 110$(LINKFILE): $(LDS)
111 @echo "build "`basename $@` 111 @echo "build $(notdir $@)"
112 @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ 112 @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \
113 $(DEFINES) -E -P - >$@ 113 $(DEFINES) -E -P - >$@
114 114