mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Added opendir, closedir and readdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@412 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
924164e6a7
commit
4d4ec3aa0b
4 changed files with 133 additions and 27 deletions
|
|
@ -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 $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue