diff options
Diffstat (limited to 'firmware/test/fat/Makefile')
-rw-r--r-- | firmware/test/fat/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/test/fat/Makefile b/firmware/test/fat/Makefile index 6b253fe16c..48bddb9630 100644 --- a/firmware/test/fat/Makefile +++ b/firmware/test/fat/Makefile | |||
@@ -5,7 +5,7 @@ CFLAGS = -g -Wall -DTEST_FAT -I$(DRIVERS) -I$(FIRMWARE)/common -I$(FIRMWARE) -I. | |||
5 | 5 | ||
6 | TARGET = fat | 6 | TARGET = fat |
7 | 7 | ||
8 | $(TARGET): fat.o ata-sim.o debug.o main.o disk.o | 8 | $(TARGET): fat.o ata-sim.o main.o disk.o debug.o dir.o |
9 | gcc -g -o fat $+ -lfl | 9 | gcc -g -o fat $+ -lfl |
10 | 10 | ||
11 | fat.o: $(DRIVERS)/fat.c $(DRIVERS)/fat.h $(DRIVERS)/ata.h | 11 | fat.o: $(DRIVERS)/fat.c $(DRIVERS)/fat.h $(DRIVERS)/ata.h |
@@ -14,6 +14,9 @@ fat.o: $(DRIVERS)/fat.c $(DRIVERS)/fat.h $(DRIVERS)/ata.h | |||
14 | disk.o: $(FIRMWARE)/common/disk.c | 14 | disk.o: $(FIRMWARE)/common/disk.c |
15 | $(CC) $(CFLAGS) -c $< -o $@ | 15 | $(CC) $(CFLAGS) -c $< -o $@ |
16 | 16 | ||
17 | dir.o: $(FIRMWARE)/common/dir.c | ||
18 | $(CC) $(CFLAGS) -c $< -o $@ | ||
19 | |||
17 | debug.o: $(FIRMWARE)/debug.c | 20 | debug.o: $(FIRMWARE)/debug.c |
18 | $(CC) $(CFLAGS) -c $< -o $@ | 21 | $(CC) $(CFLAGS) -c $< -o $@ |
19 | 22 | ||