summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r--uisimulator/x11/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index 5fc83bfcaa..392e4c3595 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -32,7 +32,6 @@ endif
32PREVAPPDIR= .. 32PREVAPPDIR= ..
33FIRMWAREDIR = ../../firmware 33FIRMWAREDIR = ../../firmware
34DRIVERS = $(FIRMWAREDIR)/drivers 34DRIVERS = $(FIRMWAREDIR)/drivers
35COMMON = $(FIRMWAREDIR)/common
36LIBMADDIR = $(PREVAPPDIR)/common/libmad 35LIBMADDIR = $(PREVAPPDIR)/common/libmad
37TOOLSDIR = ../../tools 36TOOLSDIR = ../../tools
38DOCSDIR = ../../docs 37DOCSDIR = ../../docs
@@ -53,11 +52,12 @@ $(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES) $(RTC)
53LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl 52LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl
54 53
55# Use this for simulator-only files 54# Use this for simulator-only files
56INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(OBJDIR) 55INCLUDES = -I. -I$(DRIVERS) -I$(FIRMWAREDIR)/export -I$(APPDIR) \
57SRCDIRS = . $(DRIVERS) $(COMMON) $(FIRMWAREDIR) $(APPDIR) $(MACHINEDIR) 56-I$(MACHINEDIR) -I../common -I$(OBJDIR)
57SRCDIRS = . $(DRIVERS) $(FIRMWAREDIR)/export $(APPDIR) $(MACHINEDIR)
58 58
59# The true Rockbox Applications should use this include path: 59# The true Rockbox Applications should use this include path:
60APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) 60APPINCLUDES = $(INCLUDES)
61 61
62LIBS = -lpthread 62LIBS = -lpthread
63 63
@@ -85,8 +85,8 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
85else 85else
86 LCDSRSC = lcd-playersim.c lcd-player.c font-player.c lcd-player-charset.c 86 LCDSRSC = lcd-playersim.c lcd-player.c font-player.c lcd-player-charset.c
87endif 87endif
88FIRMSRCS = $(LCDSRSC) sprintf.c id3.c debug.c usb.c mpeg.c power.c\ 88FIRMSRCS = $(LCDSRSC) id3.c debug.c usb.c mpeg.c power.c\
89 powermgmt.c panic.c ctype.c 89 powermgmt.c panic.c
90 90
91APPS = main.c tree.c menu.c credits.c main_menu.c language.c\ 91APPS = main.c tree.c menu.c credits.c main_menu.c language.c\
92 playlist.c wps.c wps-display.c settings.c status.c icons.c\ 92 playlist.c wps.c wps-display.c settings.c status.c icons.c\
@@ -284,7 +284,7 @@ $(OBJDIR)/ctype.o: $(COMMON)/ctype.c
284 $(CC) $(CFLAGS) $(APPINCLUDES) -c $< -o $@ 284 $(CC) $(CFLAGS) $(APPINCLUDES) -c $< -o $@
285 285
286$(OBJDIR)/stubs.o: ../common/stubs.c 286$(OBJDIR)/stubs.o: ../common/stubs.c
287 $(CC) $(CFLAGS) -c $< -o $@ 287 $(CC) $(APPCFLAGS) -c $< -o $@
288 288
289$(OBJDIR)/sim_icons.o: ../common/sim_icons.c 289$(OBJDIR)/sim_icons.o: ../common/sim_icons.c
290 $(CC) $(CFLAGS) -c $< -o $@ 290 $(CC) $(CFLAGS) -c $< -o $@