summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-04-24 08:09:39 +0000
committerRobert Hak <adiamas@rockbox.org>2002-04-24 08:09:39 +0000
commit12c91b8e168729e27919ea7dc721a1d8e5b2b43e (patch)
treef763e9517972190a7f4e766554ef82ba515d06b5
parent9dc1faf55a931f951dca5d125b9bc3de053ce822 (diff)
Added reference to new drivers directory in firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@206 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/uisimulator/Makefile b/uisimulator/Makefile
index 8f7836ca04..fb5a0c0203 100644
--- a/uisimulator/Makefile
+++ b/uisimulator/Makefile
@@ -20,6 +20,7 @@
TARGET = rockboxui
FIRMWAREDIR=../firmware
+DRIVERS=$(FIRMWAREDIR)/drivers
CC = gcc
RM = rm
@@ -29,14 +30,14 @@ CPPFLAGS = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR -DHAVE_LCD_BITMA
LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl
UNAME := $(shell uname)
ifeq ($(UNAME),Linux)
- INCLUDES = -I/usr/X11R6/include
+ INCLUDES = -I/usr/X11R6/include -I$(DRIVERS)
LIBDIRS = -L/usr/X11R6/lib
else
INCLUDES =
LIBDIRS =
endif
-OBJS= screenhack.o uibasic.o resources.o visual.o lcd.o lcd-x11.o button-x11.o chartables.o tetris.o
+OBJS= screenhack.o uibasic.o resources.o visual.o lcd.o lcd-x11.o button-x11.o chartables.o tetris.o
SRCS = $(OBJS:%.o=%.c)
HDRS = $(OBJS:%.o=%.h)
@@ -49,7 +50,7 @@ clean:
distclean: clean
$(RM) config.cache
-lcd.o: $(FIRMWAREDIR)/lcd.c
+lcd.o: $(DRIVERS)/lcd.c
$(CC) $(CPPFLAGS) $(INCLUDES) $(CFLAGS) -c $< -o $@
chartables.o: $(FIRMWAREDIR)/chartables.c