diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-07 16:01:53 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-07 16:01:53 +0000 |
commit | 4bd870360af595a3f90b9ccc5a09d1414fd654e9 (patch) | |
tree | fccdc0da07d36d858560129f9a3b4c66d4669943 /firmware/test/fat/Makefile | |
parent | 44b1a21f17975c896fd41dfff2e128a81ca77fc3 (diff) | |
download | rockbox-4bd870360af595a3f90b9ccc5a09d1414fd654e9.tar.gz rockbox-4bd870360af595a3f90b9ccc5a09d1414fd654e9.zip |
Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
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 48bddb9630..bd6869e8e9 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 main.o disk.o debug.o dir.o | 8 | $(TARGET): fat.o ata-sim.o main.o disk.o debug.o dir.o file.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 |
@@ -17,6 +17,9 @@ disk.o: $(FIRMWARE)/common/disk.c | |||
17 | dir.o: $(FIRMWARE)/common/dir.c | 17 | dir.o: $(FIRMWARE)/common/dir.c |
18 | $(CC) $(CFLAGS) -c $< -o $@ | 18 | $(CC) $(CFLAGS) -c $< -o $@ |
19 | 19 | ||
20 | file.o: $(FIRMWARE)/common/file.c | ||
21 | $(CC) $(CFLAGS) -c $< -o $@ | ||
22 | |||
20 | debug.o: $(FIRMWARE)/debug.c | 23 | debug.o: $(FIRMWARE)/debug.c |
21 | $(CC) $(CFLAGS) -c $< -o $@ | 24 | $(CC) $(CFLAGS) -c $< -o $@ |
22 | 25 | ||