diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/chessbox/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/databox/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/doom/Makefile | 13 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/pacbox/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/rockboy/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/searchengine/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/sudoku/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/zxbox/Makefile | 6 |
10 files changed, 43 insertions, 40 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index b446edf506..c3f718c954 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -86,7 +86,7 @@ $(OBJDIR)/%.elf: $(OBJDIR)/%.o $(LINKFILE) $(BUILDDIR)/libplugin.a $(BITMAPLIBS) | |||
86 | $(SILENT)$(CC) $(GCCOPTS) -O -nostdlib -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map | 86 | $(SILENT)$(CC) $(GCCOPTS) -O -nostdlib -o $@ $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -lgcc -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/$*.map |
87 | 87 | ||
88 | $(OBJDIR)/%.rock : $(OBJDIR)/%.elf | 88 | $(OBJDIR)/%.rock : $(OBJDIR)/%.elf |
89 | @echo "OBJCOPY "`basename $@` | 89 | @echo "OBJCOPY $(notdir $@)" |
90 | $(SILENT)$(OC) -O binary $< $@ | 90 | $(SILENT)$(OC) -O binary $< $@ |
91 | else | 91 | else |
92 | 92 | ||
@@ -95,7 +95,7 @@ ifeq ($(SIMVER), x11) | |||
95 | # This is the X11 simulator version | 95 | # This is the X11 simulator version |
96 | 96 | ||
97 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) | 97 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) |
98 | @echo "LD "`basename $@` | 98 | @echo "LD $(notdir $@)" |
99 | $(SILENT)$(CC) $(CFLAGS) $(SHARED_FLAG) $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -o $@ | 99 | $(SILENT)$(CC) $(CFLAGS) $(SHARED_FLAG) $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -o $@ |
100 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | 100 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) |
101 | # 'x' must be kept or you'll have "Win32 error 5" | 101 | # 'x' must be kept or you'll have "Win32 error 5" |
@@ -111,7 +111,7 @@ ifeq ($(SIMVER), sdl) | |||
111 | # This is the SDL simulator version | 111 | # This is the SDL simulator version |
112 | 112 | ||
113 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) | 113 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) |
114 | @echo "LD "`basename $@` | 114 | @echo "LD $(notdir $@)" |
115 | $(SILENT)$(CC) $(CFLAGS) $(SHARED_FLAG) $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -o $@ | 115 | $(SILENT)$(CC) $(CFLAGS) $(SHARED_FLAG) $< -L$(BUILDDIR) $(CODECLIBS) -lplugin $(LINKBITMAPS) -o $@ |
116 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | 116 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) |
117 | # 'x' must be kept or you'll have "Win32 error 5" | 117 | # 'x' must be kept or you'll have "Win32 error 5" |
@@ -128,7 +128,7 @@ DLLTOOLFLAGS = --export-all | |||
128 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 128 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
129 | 129 | ||
130 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) | 130 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a $(BITMAPLIBS) |
131 | @echo "DLL "`basename $@` | 131 | @echo "DLL $(notdir $@)" |
132 | $(SILENT)$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< | 132 | $(SILENT)$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< |
133 | $(SILENT)$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(BUILDDIR)/libplugin.a $(BITMAPLIBS) \ | 133 | $(SILENT)$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(BUILDDIR)/libplugin.a $(BITMAPLIBS) \ |
134 | $(patsubst -l%,$(BUILDDIR)/lib%.a,$(CODECLIBS)) -o $@ | 134 | $(patsubst -l%,$(BUILDDIR)/lib%.a,$(CODECLIBS)) -o $@ |
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 | ||
41 | ifndef SIMVER | 41 | ifndef 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 $< $@ |
50 | else | 50 | else |
51 | 51 | ||
@@ -87,7 +87,7 @@ DLLTOOLFLAGS = --export-all | |||
87 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 87 | DLLWRAPFLAGS = -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 | ||
diff --git a/apps/plugins/databox/Makefile b/apps/plugins/databox/Makefile index e47ae1e839..451f3415b4 100644 --- a/apps/plugins/databox/Makefile +++ b/apps/plugins/databox/Makefile | |||
@@ -31,12 +31,12 @@ all: $(OUTPUT) | |||
31 | 31 | ||
32 | ifndef SIMVER | 32 | ifndef SIMVER |
33 | $(OBJDIR)/databox.elf: $(OBJS) $(LINKFILE) | 33 | $(OBJDIR)/databox.elf: $(OBJS) $(LINKFILE) |
34 | @echo "LD "`basename $@` | 34 | @echo "LD $(notdir $@)" |
35 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 35 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
36 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/databox.map | 36 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/databox.map |
37 | 37 | ||
38 | $(OUTPUT): $(OBJDIR)/databox.elf | 38 | $(OUTPUT): $(OBJDIR)/databox.elf |
39 | @echo "OBJCOPY "`basename $@` | 39 | @echo "OBJCOPY $(notdir $@)" |
40 | @$(OC) -O binary $< $@ | 40 | @$(OC) -O binary $< $@ |
41 | else | 41 | else |
42 | 42 | ||
@@ -78,7 +78,7 @@ DLLTOOLFLAGS = --export-all | |||
78 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 78 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
79 | 79 | ||
80 | $(OUTPUT): $(OBJS) | 80 | $(OUTPUT): $(OBJS) |
81 | @echo "DLL "`basename $@` | 81 | @echo "DLL $(notdir $@)" |
82 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 82 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
83 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 83 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
84 | $(BUILDDIR)/libplugin.a -o $@ | 84 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -99,7 +99,7 @@ include $(TOOLSDIR)/make.inc | |||
99 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 99 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
100 | # given in number of MB | 100 | # given in number of MB |
101 | $(LINKFILE): $(LDS) | 101 | $(LINKFILE): $(LDS) |
102 | @echo "build "`basename $@` | 102 | @echo "build $(notdir $@)" |
103 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 103 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
104 | $(DEFINES) -E -P - >$@ | 104 | $(DEFINES) -E -P - >$@ |
105 | 105 | ||
diff --git a/apps/plugins/doom/Makefile b/apps/plugins/doom/Makefile index 678e283427..90289099df 100644 --- a/apps/plugins/doom/Makefile +++ b/apps/plugins/doom/Makefile | |||
@@ -3,7 +3,10 @@ | |||
3 | # $Id$ | 3 | # $Id$ |
4 | # | 4 | # |
5 | # $Log$ | 5 | # $Log$ |
6 | # Revision 1.6 2006/09/29 20:04:35 barrywardell | 6 | # Revision 1.7 2006/10/22 00:21:56 amiconn |
7 | # Speed up build process in general by using internal functions of make instead of spawning sub-shells where possible. | ||
8 | # | ||
9 | # Revision 1.6 2006-09-29 20:04:35 barrywardell | ||
7 | # 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. | 10 | # 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. |
8 | # | 11 | # |
9 | # Revision 1.5 2006-09-29 16:15:08 barrywardell | 12 | # Revision 1.5 2006-09-29 16:15:08 barrywardell |
@@ -76,12 +79,12 @@ all: $(OUTPUT) | |||
76 | 79 | ||
77 | ifndef SIMVER | 80 | ifndef SIMVER |
78 | $(OBJDIR)/doom.elf: $(OBJS) $(LINKFILE) | 81 | $(OBJDIR)/doom.elf: $(OBJS) $(LINKFILE) |
79 | @echo "LD "`basename $@` | 82 | @echo "LD $(notdir $@)" |
80 | @$(CC) $(GCCOPTS) $(LDFLAGS) -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc\ | 83 | @$(CC) $(GCCOPTS) $(LDFLAGS) -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc\ |
81 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/doom.map | 84 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/doom.map |
82 | 85 | ||
83 | $(OUTPUT): $(OBJDIR)/doom.elf | 86 | $(OUTPUT): $(OBJDIR)/doom.elf |
84 | @echo "OBJCOPY "`basename $@` | 87 | @echo "OBJCOPY $(notdir $@)" |
85 | @$(OC) -O binary $< $@ | 88 | @$(OC) -O binary $< $@ |
86 | else | 89 | else |
87 | 90 | ||
@@ -123,7 +126,7 @@ DLLTOOLFLAGS = --export-all | |||
123 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 126 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
124 | 127 | ||
125 | $(OUTPUT): $(OBJS) | 128 | $(OUTPUT): $(OBJS) |
126 | @echo "DLL "`basename $@` | 129 | @echo "DLL $(notdir $@)" |
127 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 130 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
128 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 131 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
129 | $(BUILDDIR)/libplugin.a -o $@ | 132 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -144,7 +147,7 @@ include $(TOOLSDIR)/make.inc | |||
144 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 147 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
145 | # given in number of MB | 148 | # given in number of MB |
146 | $(LINKFILE): $(LDS) | 149 | $(LINKFILE): $(LDS) |
147 | @echo "build "`basename $@` | 150 | @echo "build $(notdir $@)" |
148 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) \ | 151 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) \ |
149 | -E -P - >$@ | 152 | -E -P - >$@ |
150 | 153 | ||
diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile index 215223dafa..61eae88db9 100644 --- a/apps/plugins/mpegplayer/Makefile +++ b/apps/plugins/mpegplayer/Makefile | |||
@@ -34,12 +34,12 @@ all: $(OUTPUT) | |||
34 | 34 | ||
35 | ifndef SIMVER | 35 | ifndef SIMVER |
36 | $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) | 36 | $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) |
37 | @echo "LD "`basename $@` | 37 | @echo "LD $(notdir $@)" |
38 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 38 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
39 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map | 39 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map |
40 | 40 | ||
41 | $(OUTPUT): $(OBJDIR)/mpegplayer.elf | 41 | $(OUTPUT): $(OBJDIR)/mpegplayer.elf |
42 | @echo "OBJCOPY "`basename $@` | 42 | @echo "OBJCOPY $(notdir $@)" |
43 | @$(OC) -O binary $< $@ | 43 | @$(OC) -O binary $< $@ |
44 | else | 44 | else |
45 | 45 | ||
@@ -81,7 +81,7 @@ DLLTOOLFLAGS = --export-all | |||
81 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 81 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
82 | 82 | ||
83 | $(OUTPUT): $(OBJS) | 83 | $(OUTPUT): $(OBJS) |
84 | @echo "DLL "`basename $@` | 84 | @echo "DLL $(notdir $@)" |
85 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 85 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
86 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 86 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
87 | $(BUILDDIR)/libplugin.a -o $@ | 87 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -102,7 +102,7 @@ include $(TOOLSDIR)/make.inc | |||
102 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 102 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
103 | # given in number of MB | 103 | # given in number of MB |
104 | $(LINKFILE): $(LDS) | 104 | $(LINKFILE): $(LDS) |
105 | @echo "build "`basename $@` | 105 | @echo "build $(notdir $@)" |
106 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 106 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
107 | $(DEFINES) -E -P - >$@ | 107 | $(DEFINES) -E -P - >$@ |
108 | 108 | ||
diff --git a/apps/plugins/pacbox/Makefile b/apps/plugins/pacbox/Makefile index 174d33f5bb..7af0216a4f 100644 --- a/apps/plugins/pacbox/Makefile +++ b/apps/plugins/pacbox/Makefile | |||
@@ -34,12 +34,12 @@ all: $(OUTPUT) | |||
34 | 34 | ||
35 | ifndef SIMVER | 35 | ifndef SIMVER |
36 | $(OBJDIR)/pacbox.elf: $(OBJS) $(LINKFILE) | 36 | $(OBJDIR)/pacbox.elf: $(OBJS) $(LINKFILE) |
37 | @echo "LD "`basename $@` | 37 | @echo "LD $(notdir $@)" |
38 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 38 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
39 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/pacbox.map | 39 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/pacbox.map |
40 | 40 | ||
41 | $(OUTPUT): $(OBJDIR)/pacbox.elf | 41 | $(OUTPUT): $(OBJDIR)/pacbox.elf |
42 | @echo "OBJCOPY "`basename $@` | 42 | @echo "OBJCOPY $(notdir $@)" |
43 | @$(OC) -O binary $< $@ | 43 | @$(OC) -O binary $< $@ |
44 | else | 44 | else |
45 | 45 | ||
@@ -81,7 +81,7 @@ DLLTOOLFLAGS = --export-all | |||
81 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 81 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
82 | 82 | ||
83 | $(OUTPUT): $(OBJS) | 83 | $(OUTPUT): $(OBJS) |
84 | @echo "DLL "`basename $@` | 84 | @echo "DLL $(notdir $@)" |
85 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 85 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
86 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 86 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
87 | $(BUILDDIR)/libplugin.a -o $@ | 87 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -102,7 +102,7 @@ include $(TOOLSDIR)/make.inc | |||
102 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 102 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
103 | # given in number of MB | 103 | # given in number of MB |
104 | $(LINKFILE): $(LDS) | 104 | $(LINKFILE): $(LDS) |
105 | @echo "build "`basename $@` | 105 | @echo "build $(notdir $@)" |
106 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 106 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
107 | $(DEFINES) -E -P - >$@ | 107 | $(DEFINES) -E -P - >$@ |
108 | 108 | ||
diff --git a/apps/plugins/rockboy/Makefile b/apps/plugins/rockboy/Makefile index b849c32dcf..b68229429f 100644 --- a/apps/plugins/rockboy/Makefile +++ b/apps/plugins/rockboy/Makefile | |||
@@ -47,12 +47,12 @@ all: $(OUTPUT) | |||
47 | 47 | ||
48 | ifndef SIMVER | 48 | ifndef SIMVER |
49 | $(OBJDIR)/rockboy.elf: $(OBJS) $(LINKFILE) | 49 | $(OBJDIR)/rockboy.elf: $(OBJS) $(LINKFILE) |
50 | @echo "LD "`basename $@` | 50 | @echo "LD $(notdir $@)" |
51 | @$(CC) $(GCCOPTS) -O2 -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -fast -lgcc \ | 51 | @$(CC) $(GCCOPTS) -O2 -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -fast -lgcc \ |
52 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockboy.map | 52 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/rockboy.map |
53 | 53 | ||
54 | $(OUTPUT): $(OBJDIR)/rockboy.elf | 54 | $(OUTPUT): $(OBJDIR)/rockboy.elf |
55 | @echo "OBJCOPY "`basename $@` | 55 | @echo "OBJCOPY $(notdir $@)" |
56 | @$(OC) -O binary $< $@ | 56 | @$(OC) -O binary $< $@ |
57 | else | 57 | else |
58 | 58 | ||
@@ -94,7 +94,7 @@ DLLTOOLFLAGS = --export-all | |||
94 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 94 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
95 | 95 | ||
96 | $(OUTPUT): $(OBJS) | 96 | $(OUTPUT): $(OBJS) |
97 | @echo "DLL "`basename $@` | 97 | @echo "DLL $(notdir $@)" |
98 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 98 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
99 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 99 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
100 | $(BUILDDIR)/libplugin.a -o $@ | 100 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -115,7 +115,7 @@ include $(TOOLSDIR)/make.inc | |||
115 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 115 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
116 | # given in number of MB | 116 | # given in number of MB |
117 | $(LINKFILE): $(LDS) | 117 | $(LINKFILE): $(LDS) |
118 | @echo "build "`basename $@` | 118 | @echo "build $(notdir $@)" |
119 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) \ | 119 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) \ |
120 | -E -P - >$@ | 120 | -E -P - >$@ |
121 | 121 | ||
diff --git a/apps/plugins/searchengine/Makefile b/apps/plugins/searchengine/Makefile index bc8f19d136..7b4576802d 100644 --- a/apps/plugins/searchengine/Makefile +++ b/apps/plugins/searchengine/Makefile | |||
@@ -31,12 +31,12 @@ all: $(OUTPUT) | |||
31 | 31 | ||
32 | ifndef SIMVER | 32 | ifndef SIMVER |
33 | $(OBJDIR)/searchengine.elf: $(OBJS) $(LINKFILE) | 33 | $(OBJDIR)/searchengine.elf: $(OBJS) $(LINKFILE) |
34 | @echo "LD "`basename $@` | 34 | @echo "LD $(notdir $@)" |
35 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 35 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
36 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/searchengine.map | 36 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/searchengine.map |
37 | 37 | ||
38 | $(OUTPUT): $(OBJDIR)/searchengine.elf | 38 | $(OUTPUT): $(OBJDIR)/searchengine.elf |
39 | @echo "OBJCOPY "`basename $@` | 39 | @echo "OBJCOPY $(notdir $@)" |
40 | @$(OC) -O binary $< $@ | 40 | @$(OC) -O binary $< $@ |
41 | else | 41 | else |
42 | 42 | ||
@@ -78,7 +78,7 @@ DLLTOOLFLAGS = --export-all | |||
78 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 78 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
79 | 79 | ||
80 | $(OUTPUT): $(OBJS) | 80 | $(OUTPUT): $(OBJS) |
81 | @echo "DLL "`basename $@` | 81 | @echo "DLL $(notdir $@)" |
82 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 82 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
83 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 83 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
84 | $(BUILDDIR)/libplugin.a -o $@ | 84 | $(BUILDDIR)/libplugin.a -o $@ |
@@ -99,7 +99,7 @@ include $(TOOLSDIR)/make.inc | |||
99 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 99 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
100 | # given in number of MB | 100 | # given in number of MB |
101 | $(LINKFILE): $(LDS) | 101 | $(LINKFILE): $(LDS) |
102 | @echo "build "`basename $@` | 102 | @echo "build $(notdir $@)" |
103 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 103 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
104 | $(DEFINES) -E -P - >$@ | 104 | $(DEFINES) -E -P - >$@ |
105 | 105 | ||
diff --git a/apps/plugins/sudoku/Makefile b/apps/plugins/sudoku/Makefile index eab09fd5b5..a59b7e5383 100644 --- a/apps/plugins/sudoku/Makefile +++ b/apps/plugins/sudoku/Makefile | |||
@@ -38,12 +38,12 @@ all: $(OUTPUT) | |||
38 | 38 | ||
39 | ifndef SIMVER | 39 | ifndef SIMVER |
40 | $(OBJDIR)/sudoku.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) | 40 | $(OBJDIR)/sudoku.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) |
41 | @echo "LD "`basename $@` | 41 | @echo "LD $(notdir $@)" |
42 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 42 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
43 | $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/sudoku.map | 43 | $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/sudoku.map |
44 | 44 | ||
45 | $(OUTPUT): $(OBJDIR)/sudoku.elf | 45 | $(OUTPUT): $(OBJDIR)/sudoku.elf |
46 | @echo "OBJCOPY "`basename $@` | 46 | @echo "OBJCOPY $(notdir $@)" |
47 | @$(OC) -O binary $< $@ | 47 | @$(OC) -O binary $< $@ |
48 | else | 48 | else |
49 | 49 | ||
@@ -85,7 +85,7 @@ DLLTOOLFLAGS = --export-all | |||
85 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 85 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
86 | 86 | ||
87 | $(OUTPUT): $(OBJS) | 87 | $(OUTPUT): $(OBJS) |
88 | @echo "DLL "`basename $@` | 88 | @echo "DLL $(notdir $@)" |
89 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) | 89 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS) |
90 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ | 90 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \ |
91 | $(BUILDDIR)/libplugin.a $(BITMAPLIBS) -o $@ | 91 | $(BUILDDIR)/libplugin.a $(BITMAPLIBS) -o $@ |
@@ -106,7 +106,7 @@ include $(TOOLSDIR)/make.inc | |||
106 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 106 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
107 | # given in number of MB | 107 | # given in number of MB |
108 | $(LINKFILE): $(LDS) | 108 | $(LINKFILE): $(LDS) |
109 | @echo "build "`basename $@` | 109 | @echo "build $(notdir $@)" |
110 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 110 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
111 | $(DEFINES) -E -P - >$@ | 111 | $(DEFINES) -E -P - >$@ |
112 | 112 | ||
diff --git a/apps/plugins/zxbox/Makefile b/apps/plugins/zxbox/Makefile index 055bf6e967..14234cd896 100644 --- a/apps/plugins/zxbox/Makefile +++ b/apps/plugins/zxbox/Makefile | |||
@@ -43,12 +43,12 @@ all: $(OUTPUT) | |||
43 | 43 | ||
44 | ifndef SIMVER | 44 | ifndef SIMVER |
45 | $(OBJDIR)/zxbox.elf: $(OBJS) $(LINKFILE) | 45 | $(OBJDIR)/zxbox.elf: $(OBJS) $(LINKFILE) |
46 | @echo "LD "`basename $@` | 46 | @echo "LD $(notdir $@)" |
47 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ | 47 | @$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ |
48 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/zxbox.map | 48 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/zxbox.map |
49 | 49 | ||
50 | $(OUTPUT): $(OBJDIR)/zxbox.elf | 50 | $(OUTPUT): $(OBJDIR)/zxbox.elf |
51 | @echo "OBJCOPY "`basename $@` | 51 | @echo "OBJCOPY $(notdir $@)" |
52 | @$(OC) -O binary $< $@ | 52 | @$(OC) -O binary $< $@ |
53 | else | 53 | else |
54 | 54 | ||
@@ -76,7 +76,7 @@ include $(TOOLSDIR)/make.inc | |||
76 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size | 76 | # MEMORYSIZE should be passed on to this makefile with the chosen memory size |
77 | # given in number of MB | 77 | # given in number of MB |
78 | $(LINKFILE): $(LDS) | 78 | $(LINKFILE): $(LDS) |
79 | @echo "build "`basename $@` | 79 | @echo "build $(notdir $@)" |
80 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ | 80 | @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) \ |
81 | $(DEFINES) -E -P - >$@ | 81 | $(DEFINES) -E -P - >$@ |
82 | 82 | ||