diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-02 14:12:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-02 14:12:08 +0000 |
commit | d85d4637bc00551d82acc1e80132db99ddbeb421 (patch) | |
tree | a17abb9739e4334329733c910acf9d0e037f70d7 /uisimulator | |
parent | 697dd70ac4832243f6460452f955d19da56ba590 (diff) |
link with the firmware's sprintf() code just in case we'd start to use it,
so that we don't accidently try using sprintg() formatting the firmware
doesn't support!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 63ca1dbead..d15df1a90f 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -22,6 +22,7 @@ TARGET = rockboxui APPDIR= .. FIRMWAREDIR = ../../firmware DRIVERS = $(FIRMWAREDIR)/drivers +COMMON = $(FIRMWAREDIR)/common CC = gcc RM = rm -f @@ -43,8 +44,11 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) #SRCS = $(wildcard *.c) -SRCS = screenhack.c uibasic.c resources.c visual.c lcd.c lcd-x11.c \ - button-x11.c chartables.c tetris.c app.c tree.c io.c sleep.c +FIRMSRCS = chartables.c lcd.c sprintf.c + +SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ + button-x11.c tetris.c app.c tree.c io.c sleep.c \ + $(FIRMSRCS) OBJS := $(SRCS:c=o) @@ -72,6 +76,9 @@ lcd.o: $(DRIVERS)/lcd.c chartables.o: $(FIRMWAREDIR)/chartables.c $(CC) $(CFLAGS) -c $< -o $@ +sprintf.o: $(COMMON)/sprintf.c + $(CC) $(CFLAGS) -c $< -o $@ + .c.o: $(CC) $(CFLAGS) -c $< |