summaryrefslogtreecommitdiffstats
path: root/firmware/test/i2c/Makefile
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-05-11 21:39:57 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-05-11 21:39:57 +0000
commitbb69a59a971b65441589f2ac5f3d258148af1d3f (patch)
treebdf31b56d5274f20d533f74c1ac75d2fd0b0eb77 /firmware/test/i2c/Makefile
parent7958ea420f7151ffa02230f1441d3e1cbe717300 (diff)
downloadrockbox-bb69a59a971b65441589f2ac5f3d258148af1d3f.tar.gz
rockbox-bb69a59a971b65441589f2ac5f3d258148af1d3f.zip
Playing whole song from hard disk
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@544 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/i2c/Makefile')
-rw-r--r--firmware/test/i2c/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/firmware/test/i2c/Makefile b/firmware/test/i2c/Makefile
index 9089020fae..0d3ff884ed 100644
--- a/firmware/test/i2c/Makefile
+++ b/firmware/test/i2c/Makefile
@@ -8,13 +8,13 @@ INCLUDES=-I../../common -I../.. -I../../drivers
TARGET = -DARCHOS_PLAYER_OLD=1
-CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
+CFLAGS = -g -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG
AFLAGS += -small -relax
OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \
../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \
../../panic.o ../../system.o ../../drivers/led.o \
- ../../drivers/lcd.o ../../drivers/ata.o ../../drivers/fat.o \
+ ../../drivers/lcd.o ata.o ../../drivers/fat.o \
../../common/disk.o ../../common/file.o ../../common/dir.o
%.o: %.S
@@ -52,3 +52,9 @@ install:
thread.o: ../../thread.c
$(CC) -O $(CFLAGS) -c $<
+ata.o: ../../drivers/ata.c
+ $(CC) -O $(CFLAGS) -c $<
+
+main.o: main.c
+ $(CC) -O $(CFLAGS) -c $<
+