summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-04 12:26:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-04 12:26:21 +0000
commitf7a6c45c4397530f0f00f28290700cebbd99f842 (patch)
treebf156d9422d3a1a7862695fadd38847da5a8dac2 /uisimulator/x11/Makefile
parentd3cf73e6f58f56d8c066bc0a4eaa93cd75d4119c (diff)
Make it easy to select which kind of LCD you want the simulator to feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@423 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r--uisimulator/x11/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index 6666523402..6abafc1aef 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -27,7 +27,13 @@ COMMON = $(FIRMWAREDIR)/common
CC = gcc
RM = rm -f
DEBUG = -g
-DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR -DHAVE_LCD_BITMAP -DHAVE_RECORDER_KEYPAD
+
+#DISPLAY = -DHAVE_LCD_CHARCELLS
+DISPLAY = -DHAVE_LCD_BITMAP
+
+DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
+-DHAVE_RECORDER_KEYPAD $(DISPLAY)
+
LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl
INCLUDES = -I. -I$(DRIVERS) -I$(FIRMWAREDIR)
@@ -87,7 +93,7 @@ sprintf.o: $(COMMON)/sprintf.c
$(CC) $(CFLAGS) -c $<
$(TARGET): $(OBJS)
- $(CC) -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS)
+ $(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS)
DEPS:=.deps