mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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
This commit is contained in:
parent
697dd70ac4
commit
d85d4637bc
1 changed files with 9 additions and 2 deletions
|
|
@ -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 $<
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue