summaryrefslogtreecommitdiff
path: root/firmware/test/fat/Makefile
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-03 15:36:52 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-03 15:36:52 +0000
commit4d4ec3aa0b2c0bb45e7c004885accee303f1277f (patch)
treefd6432a02c7f2c0e9e0124c51f678ee5f4c1edb1 /firmware/test/fat/Makefile
parent924164e6a7b4a97d248a07928b8b9f22bf5aec0b (diff)
Added opendir, closedir and readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/fat/Makefile')
-rw-r--r--firmware/test/fat/Makefile5
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.
TARGET = fat
-$(TARGET): fat.o ata-sim.o debug.o main.o disk.o
+$(TARGET): fat.o ata-sim.o main.o disk.o debug.o dir.o
gcc -g -o fat $+ -lfl
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
disk.o: $(FIRMWARE)/common/disk.c
$(CC) $(CFLAGS) -c $< -o $@
+dir.o: $(FIRMWARE)/common/dir.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
debug.o: $(FIRMWARE)/debug.c
$(CC) $(CFLAGS) -c $< -o $@