Added DEBUG macro. Now uses our own sprintf.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@385 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-05-02 21:20:05 +00:00
parent d85d4637bc
commit 9376d05a3b

View file

@ -11,11 +11,12 @@ INCLUDES=-I../../ -I../../drivers
TARGET = -DARCHOS_PLAYER_OLD=1
#TARGET = -DARCHOS_RECORDER=1
CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET)
CFLAGS = -g -O -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
AFLAGS += -small -relax
OBJS= ../../crt0.o ../../system.o main.o timer.o \
../../thread.o ../../kernel.o ../../drivers/led.o ../../debug.o
OBJS= ../../crt0.o ../../system.o main.o timer.o \
../../thread.o ../../kernel.o ../../drivers/led.o \
../../debug.o ../../common/sprintf.o
%.o: %.S
$(CC) -o $@ $(CFLAGS) $(INCLUDES) $(DEFS) -c $<