diff options
Diffstat (limited to 'firmware/test/i2c/Makefile')
-rw-r--r-- | firmware/test/i2c/Makefile | 10 |
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 | |||
8 | 8 | ||
9 | TARGET = -DARCHOS_PLAYER_OLD=1 | 9 | TARGET = -DARCHOS_PLAYER_OLD=1 |
10 | 10 | ||
11 | CFLAGS = -g -Wall -m1 -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG | 11 | CFLAGS = -g -Wall -m1 -save-temps -nostdlib -Wstrict-prototypes -fschedule-insns -fno-builtin $(INCLUDES) $(TARGET) -DDEBUG |
12 | AFLAGS += -small -relax | 12 | AFLAGS += -small -relax |
13 | 13 | ||
14 | OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \ | 14 | OBJS= ../../crt0.o main.o ../../drivers/i2c.o ../../drivers/mas.o \ |
15 | ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \ | 15 | ../../debug.o ../../kernel.o thread.o ../../common/sprintf.o \ |
16 | ../../panic.o ../../system.o ../../drivers/led.o \ | 16 | ../../panic.o ../../system.o ../../drivers/led.o \ |
17 | ../../drivers/lcd.o ../../drivers/ata.o ../../drivers/fat.o \ | 17 | ../../drivers/lcd.o ata.o ../../drivers/fat.o \ |
18 | ../../common/disk.o ../../common/file.o ../../common/dir.o | 18 | ../../common/disk.o ../../common/file.o ../../common/dir.o |
19 | 19 | ||
20 | %.o: %.S | 20 | %.o: %.S |
@@ -52,3 +52,9 @@ install: | |||
52 | thread.o: ../../thread.c | 52 | thread.o: ../../thread.c |
53 | $(CC) -O $(CFLAGS) -c $< | 53 | $(CC) -O $(CFLAGS) -c $< |
54 | 54 | ||
55 | ata.o: ../../drivers/ata.c | ||
56 | $(CC) -O $(CFLAGS) -c $< | ||
57 | |||
58 | main.o: main.c | ||
59 | $(CC) -O $(CFLAGS) -c $< | ||
60 | |||