diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/win32/Makefile | 235 |
1 files changed, 49 insertions, 186 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index f9c363e17b..90b3abb193 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile | |||
@@ -25,9 +25,8 @@ SIMCOMMON = ../common | |||
25 | 25 | ||
26 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 26 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
27 | MACHINEDIR = $(RECDIR) | 27 | MACHINEDIR = $(RECDIR) |
28 | # not very nice to set RTC like this, but... | 28 | # not very nice to set config stuff like this, but... |
29 | RTC += -DHAVE_RTC | 29 | RTC += -DHAVE_RTC |
30 | # not very nice to set RADIO like this, but... | ||
31 | RADIO += -DHAVE_FMRADIO | 30 | RADIO += -DHAVE_FMRADIO |
32 | else | 31 | else |
33 | MACHINEDIR = $(PLAYDIR) | 32 | MACHINEDIR = $(PLAYDIR) |
@@ -48,8 +47,15 @@ DOCSDIR = ../../docs | |||
48 | RM = rm -f | 47 | RM = rm -f |
49 | DEBUG = -g | 48 | DEBUG = -g |
50 | 49 | ||
51 | # where to put all output files | 50 | ifndef OBJDIR |
52 | OBJDIR = . | 51 | no_configure: |
52 | @echo "Don't run make here. Run the tools/configure script from your own build" | ||
53 | @echo "directory, then run make there." | ||
54 | @echo | ||
55 | @echo "More help on how to build rockbox can be found here:" | ||
56 | @echo "http://rockbox.haxx.se/docs/how_to_compile.html" | ||
57 | endif | ||
58 | |||
53 | LANGUAGE = english | 59 | LANGUAGE = english |
54 | 60 | ||
55 | TARGET = $(OBJDIR)/uisw32.exe | 61 | TARGET = $(OBJDIR)/uisw32.exe |
@@ -81,9 +87,7 @@ ifeq ($(UNAME),CYGWIN) | |||
81 | DLLTOOL = dlltool | 87 | DLLTOOL = dlltool |
82 | DLLWRAP = dllwrap | 88 | DLLWRAP = dllwrap |
83 | DEFINES += -DNOCYGWIN | 89 | DEFINES += -DNOCYGWIN |
84 | CFLAGS += -mno-cygwin | ||
85 | LDFLAGS += -mno-cygwin | 90 | LDFLAGS += -mno-cygwin |
86 | APPCFLAGS += -mno-cygwin | ||
87 | else | 91 | else |
88 | CC = i386-mingw32msvc-gcc | 92 | CC = i386-mingw32msvc-gcc |
89 | WINDRES = i386-mingw32msvc-windres | 93 | WINDRES = i386-mingw32msvc-windres |
@@ -99,130 +103,57 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | |||
99 | else | 103 | else |
100 | LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c | 104 | LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c |
101 | endif | 105 | endif |
102 | COMMONSRCS = io.c | 106 | COMMONSRCS = io.c stubs.c lcd-common.c sim_icons.c fmradio.c |
103 | 107 | ||
104 | FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c mp3_playback.c \ | 108 | FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c mp3_playback.c \ |
105 | powermgmt.c power.c sprintf.c buffer.c lcd-common.c strtok.c random.c \ | 109 | powermgmt.c power.c sprintf.c buffer.c strtok.c random.c \ |
106 | timefuncs.c | 110 | timefuncs.c |
107 | 111 | ||
108 | APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \ | 112 | APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \ |
109 | playlist.c wps.c wps-display.c settings.c status.c \ | 113 | playlist.c wps.c wps-display.c settings.c status.c \ |
110 | screens.c peakmeter.c sleeptimer.c keyboard.c onplay.c\ | 114 | screens.c sleeptimer.c keyboard.c onplay.c\ |
111 | misc.c plugin.c playlist_viewer.c bookmark.c filetypes.c | 115 | misc.c plugin.c playlist_viewer.c bookmark.c filetypes.c \ |
112 | 116 | settings_menu.c sound_menu.c playlist_menu.c | |
113 | MENUS = settings_menu.c sound_menu.c playlist_menu.c | ||
114 | 117 | ||
115 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 118 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
116 | APPS += bmp.c widgets.c radio.c | 119 | APPS += peakmeter.c bmp.c widgets.c radio.c |
117 | endif | 120 | endif |
118 | 121 | ||
119 | SRCS = button.c lcd-win32.c panic-win32.c thread-win32.c \ | 122 | SRCS = button.c lcd-win32.c panic-win32.c thread-win32.c \ |
120 | debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \ | 123 | debug-win32.c kernel.c string-win32.c uisw32.c \ |
121 | $(APPS) $(MENUS) $(FIRMSRCS) $(COMMONSRCS) sim_icons.c fmradio.c | 124 | $(APPS) $(FIRMSRCS) $(COMMONSRCS) |
122 | 125 | ||
123 | OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o | 126 | OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o |
124 | 127 | ||
125 | ROCKSRCS := $(patsubst $(PLUGINDIR)/%.c,%.c,$(wildcard $(PLUGINDIR)/*.c)) | 128 | ROCKS := $(patsubst $(PLUGINDIR)/%.c,$(OBJDIR)/%.rock,$(wildcard $(PLUGINDIR)/*.c)) |
126 | 129 | PLUGINLIBOBJS := $(patsubst $(PLUGINDIR)/lib/%.c,$(OBJDIR)/%.o,$(wildcard $(PLUGINDIR)/lib/*.c)) | |
127 | ROCKS := $(ROCKSRCS:%.c=$(OBJDIR)/%.rock) | ||
128 | 130 | ||
129 | all: $(TOOLSDIR)/convbdf $(TARGET) $(ROCKS) | 131 | all: $(TOOLSDIR)/convbdf $(TARGET) $(ROCKS) |
130 | 132 | ||
131 | $(TOOLSDIR)/convbdf: | 133 | $(TOOLSDIR)/convbdf: |
132 | $(MAKE) -C $(TOOLSDIR) | 134 | $(MAKE) -C $(TOOLSDIR) |
133 | 135 | ||
134 | $(OBJDIR)/libplugin.a: | 136 | $(TARGET): $(OBJDIR)/lang.o $(OBJS) $(OBJDIR)/libplugin.a |
135 | $(MAKE) -C $(PLUGINDIR)/lib DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" SIMULATOR=1 | ||
136 | |||
137 | $(TARGET): $(OBJS) $(OBJDIR)/libplugin.a | ||
138 | $(CC) $(OBJS) -o $(TARGET) $(LDFLAGS) | 137 | $(CC) $(OBJS) -o $(TARGET) $(LDFLAGS) |
139 | 138 | ||
140 | $(OBJDIR)/uisw32-res.o: uisw32.rc | ||
141 | $(WINDRES) -i $< -o $@ | ||
142 | |||
143 | clean: | 139 | clean: |
144 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o \ | 140 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o \ |
145 | $(OBJDIR)/lang.[cho] $(OBJDIR)/build.lang $(OBJDIR)/*.o \ | 141 | $(OBJDIR)/lang.[cho] $(OBJDIR)/build.lang $(OBJDIR)/*.o \ |
146 | $(OBJDIR)/*.rock $(OBJDIR)/*.def $(OBJDIR)/sysfont.c \ | 142 | $(OBJDIR)/*.rock $(OBJDIR)/*.def $(OBJDIR)/sysfont.c \ |
147 | $(OBJDIR)/credits.raw | 143 | $(OBJDIR)/credits.raw |
148 | $(RM) -r $(DEPS) | 144 | $(RM) -r $(DEPS) |
149 | $(MAKE) -C $(PLUGINDIR)/lib clean | ||
150 | |||
151 | distclean: clean | ||
152 | $(RM) config.cache | ||
153 | 145 | ||
146 | ################## Specific dependencies ################## | ||
154 | $(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS | 147 | $(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS |
155 | perl $(APPDIR)/credits.pl < $< > $@ | 148 | perl $(APPDIR)/credits.pl < $< > $@ |
156 | 149 | ||
157 | $(OBJDIR)/credits.o: $(APPDIR)/credits.c $(APPDIR)/credits.h $(OBJDIR)/credits.raw | 150 | $(OBJDIR)/uisw32-res.o: uisw32.rc |
158 | $(CC) $(APPCFLAGS) -c $< -o $@ | 151 | $(WINDRES) -i $< -o $@ |
159 | |||
160 | $(OBJDIR)/menu.o: $(APPDIR)/menu.c | ||
161 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
162 | |||
163 | $(OBJDIR)/main_menu.o: $(APPDIR)/main_menu.c | ||
164 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
165 | |||
166 | $(OBJDIR)/language.o: $(APPDIR)/language.c | ||
167 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
168 | |||
169 | $(OBJDIR)/sound_menu.o: $(APPDIR)/sound_menu.c | ||
170 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
171 | |||
172 | $(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c | ||
173 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
174 | |||
175 | $(OBJDIR)/playlist_menu.o: $(APPDIR)/playlist_menu.c | ||
176 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
177 | |||
178 | $(OBJDIR)/icons.o: $(MACHINEDIR)/icons.c | ||
179 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
180 | |||
181 | $(OBJDIR)/widgets.o: $(RECDIR)/widgets.c | ||
182 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
183 | |||
184 | $(OBJDIR)/keyboard.o: $(MACHINEDIR)/keyboard.c | ||
185 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
186 | |||
187 | $(OBJDIR)/main.o: $(APPDIR)/main.c | ||
188 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
189 | |||
190 | $(OBJDIR)/misc.o: $(APPDIR)/misc.c | ||
191 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
192 | |||
193 | $(OBJDIR)/wps.o: $(APPDIR)/wps.c | ||
194 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
195 | |||
196 | $(OBJDIR)/sleeptimer.o: $(APPDIR)/sleeptimer.c | ||
197 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
198 | |||
199 | $(OBJDIR)/wps-display.o: $(APPDIR)/wps-display.c | ||
200 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
201 | |||
202 | $(OBJDIR)/bmp.o: $(RECDIR)/bmp.c | ||
203 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
204 | |||
205 | $(OBJDIR)/tree.o: $(APPDIR)/tree.c | ||
206 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
207 | |||
208 | $(OBJDIR)/onplay.o: $(APPDIR)/onplay.c | ||
209 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
210 | |||
211 | $(OBJDIR)/filetypes.o: $(APPDIR)/filetypes.c | ||
212 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
213 | |||
214 | $(OBJDIR)/playlist.o: $(APPDIR)/playlist.c | ||
215 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
216 | |||
217 | $(OBJDIR)/playlist_viewer.o: $(APPDIR)/playlist_viewer.c | ||
218 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
219 | 152 | ||
220 | $(OBJDIR)/bookmark.o: $(APPDIR)/bookmark.c | 153 | $(OBJDIR)/credits.o: $(APPDIR)/credits.c $(APPDIR)/credits.h $(OBJDIR)/credits.raw |
221 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
222 | 154 | ||
155 | $(OBJDIR)/button.o: button.c | ||
223 | $(OBJDIR)/plugin.o: $(APPDIR)/plugin.c plugin-win32.h | 156 | $(OBJDIR)/plugin.o: $(APPDIR)/plugin.c plugin-win32.h |
224 | $(CC) $(APPCFLAGS) -c $< -o $@ | ||
225 | |||
226 | $(OBJDIR)/build.lang: $(APPDIR)/lang/$(LANGUAGE).lang | 157 | $(OBJDIR)/build.lang: $(APPDIR)/lang/$(LANGUAGE).lang |
227 | perl $(TOOLSDIR)/uplang $(APPDIR)/lang/english.lang $< > $@ | 158 | perl $(TOOLSDIR)/uplang $(APPDIR)/lang/english.lang $< > $@ |
228 | 159 | ||
@@ -230,115 +161,47 @@ $(OBJDIR)/lang.o: $(OBJDIR)/build.lang | |||
230 | perl -s $(TOOLSDIR)/genlang -p=$(OBJDIR)/lang $< | 161 | perl -s $(TOOLSDIR)/genlang -p=$(OBJDIR)/lang $< |
231 | $(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@ | 162 | $(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@ |
232 | 163 | ||
233 | $(OBJDIR)/lcd-recorder.o: $(DRIVERS)/lcd-recorder.c | 164 | $(OBJDIR)/sysfont.o: $(FIRMWAREDIR)/fonts/clR6x8.bdf |
234 | $(CC) $(APPCFLAGS) -DHAVE_LCD_BITMAP -c $< -o $@ | 165 | $(TOOLSDIR)/convbdf -c -o $(OBJDIR)/sysfont.c $< |
166 | $(CC) $(APPCFLAGS) -c $(OBJDIR)/sysfont.c -o $@ | ||
235 | 167 | ||
236 | $(OBJDIR)/power.o: $(DRIVERS)/power.c | 168 | ################## Plugins ################## |
237 | $(CC) $(APPCFLAGS) -c $< -o $@ | 169 | $(OBJDIR)/libplugin.a: $(PLUGINLIBOBJS) |
170 | $(AR) ruv $@ $+ | ||
238 | 171 | ||
239 | $(OBJDIR)/usb.o: $(FIRMWAREDIR)/usb.c | 172 | $(OBJDIR)/%.o: $(PLUGINDIR)/lib/%.c |
240 | $(CC) $(APPCFLAGS) -c $< -o $@ | 173 | $(CC) $(CFLAGS) -DPLUGIN -c $< -o $@ |
241 | 174 | ||
242 | $(OBJDIR)/panic.o: $(FIRMWAREDIR)/panic.c | 175 | $(OBJDIR)/%.po : $(PLUGINDIR)/%.c |
243 | $(CC) $(APPCFLAGS) -c $< -o $@ | 176 | $(CC) $(APPCFLAGS) -DPLUGIN -c $< -o $@ |
244 | 177 | ||
245 | $(OBJDIR)/powermgmt.o: $(FIRMWAREDIR)/powermgmt.c | 178 | $(OBJDIR)/%.rock : $(OBJDIR)/%.po |
246 | $(CC) $(APPCFLAGS) -c $< -o $@ | 179 | $(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< |
180 | $(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@ | ||
247 | 181 | ||
248 | $(OBJDIR)/lcd-player-charset.o: $(DRIVERS)/lcd-player-charset.c | 182 | ################## Patterns for building objects ################## |
183 | $(OBJDIR)/%.o: %.c | ||
249 | $(CC) $(CFLAGS) -c $< -o $@ | 184 | $(CC) $(CFLAGS) -c $< -o $@ |
250 | 185 | ||
251 | $(OBJDIR)/settings.o: $(APPDIR)/settings.c | 186 | $(OBJDIR)/%.o: $(SIMCOMMON)/%.c |
252 | $(CC) $(APPCFLAGS) -c $< -o $@ | 187 | $(CC) $(APPCFLAGS) -c $< -o $@ |
253 | 188 | ||
254 | $(OBJDIR)/id3.o: $(FIRMWAREDIR)/id3.c | 189 | $(OBJDIR)/%.o: $(MACHINEDIR)/%.c |
255 | $(CC) $(CFLAGS) -c $< -o $@ | ||
256 | |||
257 | $(OBJDIR)/mp3data.o: $(FIRMWAREDIR)/mp3data.c | ||
258 | $(CC) $(CFLAGS) -c $< -o $@ | ||
259 | |||
260 | $(OBJDIR)/font.o: $(FIRMWAREDIR)/font.c | ||
261 | $(CC) $(CFLAGS) -c $< -o $@ | ||
262 | |||
263 | $(OBJDIR)/sysfont.o: $(FIRMWAREDIR)/fonts/clR6x8.bdf | ||
264 | $(TOOLSDIR)/convbdf -c -o $(OBJDIR)/sysfont.c $< | ||
265 | $(CC) $(APPCFLAGS) -c $(OBJDIR)/sysfont.c -o $@ | ||
266 | |||
267 | $(OBJDIR)/status.o: $(APPDIR)/status.c | ||
268 | $(CC) $(APPCFLAGS) -c $< -o $@ | 190 | $(CC) $(APPCFLAGS) -c $< -o $@ |
269 | 191 | ||
270 | $(OBJDIR)/screens.o: $(APPDIR)/screens.c | 192 | $(OBJDIR)/%.o: $(DRIVERS)/%.c |
271 | $(CC) $(APPCFLAGS) -c $< -o $@ | 193 | $(CC) $(APPCFLAGS) -c $< -o $@ |
272 | 194 | ||
273 | $(OBJDIR)/peakmeter.o: $(RECDIR)/peakmeter.c | 195 | $(OBJDIR)/%.o: $(FIRMWAREDIR)/%.c |
274 | $(CC) $(APPCFLAGS) -c $< -o $@ | 196 | $(CC) $(APPCFLAGS) -c $< -o $@ |
275 | 197 | ||
276 | $(OBJDIR)/version.o: $(FIRMWAREDIR)/version.c | 198 | $(OBJDIR)/%.o: $(COMMON)/%.c |
277 | $(CC) $(CFLAGS) -c $< -o $@ | ||
278 | |||
279 | $(OBJDIR)/debug.o: $(FIRMWAREDIR)/debug.c | ||
280 | $(CC) $(CFLAGS) -c $< -o $@ | ||
281 | |||
282 | $(OBJDIR)/mpeg.o: $(FIRMWAREDIR)/mpeg.c | ||
283 | $(CC) $(CFLAGS) -c $< -o $@ | ||
284 | |||
285 | $(OBJDIR)/mp3_playback.o: $(FIRMWAREDIR)/mp3_playback.c | ||
286 | $(CC) $(CFLAGS) -c $< -o $@ | ||
287 | |||
288 | $(OBJDIR)/buffer.o: $(FIRMWAREDIR)/buffer.c | ||
289 | $(CC) $(CFLAGS) -c $< -o $@ | ||
290 | |||
291 | $(OBJDIR)/random.o: $(COMMON)/random.c | ||
292 | $(CC) $(CFLAGS) -c $< -o $@ | ||
293 | |||
294 | $(OBJDIR)/sprintf.o: $(COMMON)/sprintf.c | ||
295 | $(CC) $(CFLAGS) -c $< -o $@ | ||
296 | |||
297 | $(OBJDIR)/strtok.o: $(COMMON)/strtok.c | ||
298 | $(CC) $(CFLAGS) -c $< -o $@ | ||
299 | |||
300 | $(OBJDIR)/timefuncs.o: $(COMMON)/timefuncs.c | ||
301 | $(CC) $(CFLAGS) -c $< -o $@ | ||
302 | |||
303 | $(OBJDIR)/stubs.o: $(SIMCOMMON)/stubs.c | ||
304 | $(CC) $(CFLAGS) -c $< -o $@ | ||
305 | |||
306 | $(OBJDIR)/lcd-common.o: $(SIMCOMMON)/lcd-common.c | ||
307 | $(CC) $(CFLAGS) -c $< -o $@ | ||
308 | |||
309 | $(OBJDIR)/font-player.o: $(SIMCOMMON)/font-player.c | ||
310 | $(CC) $(CFLAGS) -c $< -o $@ | ||
311 | |||
312 | $(OBJDIR)/sim_icons.o: $(SIMCOMMON)/sim_icons.c | ||
313 | $(CC) $(CFLAGS) -c $< -o $@ | ||
314 | |||
315 | $(OBJDIR)/io.o: $(SIMCOMMON)/io.c | ||
316 | $(CC) $(CFLAGS) -c $< -o $@ | ||
317 | |||
318 | $(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c | ||
319 | $(CC) $(CFLAGS) -c $< -o $@ | ||
320 | |||
321 | $(OBJDIR)/fmradio.o: $(SIMCOMMON)/fmradio.c | ||
322 | $(CC) $(CFLAGS) -c $< -o $@ | ||
323 | |||
324 | $(OBJDIR)/lcd-player.o: $(DRIVERS)/lcd-player.c | ||
325 | $(CC) $(CFLAGS) -c $< -o $@ | ||
326 | |||
327 | $(OBJDIR)/radio.o: $(RECDIR)/radio.c | ||
328 | $(CC) $(APPCFLAGS) -c $< -o $@ | 199 | $(CC) $(APPCFLAGS) -c $< -o $@ |
329 | 200 | ||
330 | # these ones are simulator-specific | 201 | $(OBJDIR)/%.o: $(APPDIR)/%.c |
331 | 202 | $(CC) $(APPCFLAGS) -c $< -o $@ | |
332 | $(OBJDIR)/%.o: %.c | ||
333 | $(CC) $(CFLAGS) -c $< -o $@ | ||
334 | |||
335 | $(OBJDIR)/%.po : $(PLUGINDIR)/%.c | ||
336 | $(CC) $(APPCFLAGS) -DPLUGIN -c $< -o $@ | ||
337 | |||
338 | $(OBJDIR)/%.rock : $(OBJDIR)/%.po | ||
339 | $(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< | ||
340 | $(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@ | ||
341 | 203 | ||
204 | ################## Auto-dependencies ################## | ||
342 | DEPS:=$(OBJDIR)/.deps | 205 | DEPS:=$(OBJDIR)/.deps |
343 | 206 | ||
344 | $(DEPS)/%.d: %.c | 207 | $(DEPS)/%.d: %.c |