mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
FAT update
Added fat test code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@254 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cfc2bbeef2
commit
1dff4b65f7
6 changed files with 396 additions and 509 deletions
25
firmware/test/fat/Makefile
Normal file
25
firmware/test/fat/Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
DRIVERS = ../../drivers
|
||||
|
||||
CFLAGS = -g -Wall -DTEST_FAT -I$(DRIVERS) -I.
|
||||
|
||||
TARGET = fat
|
||||
|
||||
$(TARGET): fat.o ata-sim.o debug.o
|
||||
gcc -g -o fat $+ -lfl
|
||||
|
||||
fat.o: $(DRIVERS)/fat.c $(DRIVERS)/fat.h $(DRIVERS)/ata.h
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
ata-sim.o: ata-sim.c $(DRIVERS)/ata.h
|
||||
|
||||
debug.o: debug.c debug.h $(DRIVERS)/ata.h
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET)
|
||||
rm -f *~
|
||||
rm -f cmd.tab.h lex.yy.c cmd.tab.c
|
||||
rm -f core
|
||||
|
||||
tar:
|
||||
rm -f $(TARGET).tar
|
||||
tar cvf $(TARGET).tar -C .. fat
|
||||
Loading…
Add table
Add a link
Reference in a new issue