]> code.delx.au - refind/blobdiff - filesystems/test/Makefile
Added primitive cache to most drivers to improve performance,
[refind] / filesystems / test / Makefile
index 224c363a71e41e00ca3590ee4a4dbeffcc5d4ee0..abf926fa3e68240e6804c7f2fcb3620ebf3cd642 100644 (file)
@@ -1,5 +1,5 @@
 
-DRIVERNAME = ext4
+DRIVERNAME = btrfs
 
 CC             = /usr/bin/gcc
 CFLAGS         = -Wall -g -D_REENTRANT -DVERSION=\"$(VERSION)\" -DHOST_POSIX -I ../ -DFSTYPE=$(DRIVERNAME)
@@ -8,7 +8,7 @@ FSW_NAMES       = ../fsw_core ../fsw_lib
 FSW_OBJS       = $(FSW_NAMES:=.o)
 LSLR_OBJS      = $(FSW_OBJS) ../fsw_$(DRIVERNAME).o fsw_posix.o lslr.o
 LSLR_BIN       = lslr
-LSROOT_OBJS    = $(FSW_OBJS) ../fsw_ext2.o fsw_posix.o lsroot.o
+LSROOT_OBJS    = $(FSW_OBJS) ../fsw_btrfs.o .fsw_posix.o lsroot.o
 LSROOT_BIN     = lsroot
 
 
@@ -19,5 +19,8 @@ $(LSLR_BIN):  $(LSLR_OBJS)
 $(LSROOT_BIN): $(LSROOT_OBJS) 
                $(CC) $(CFLAGS) -o $(LSROOT_BIN) $(LSROOT_OBJS) $(LDFLAGS)
 
-all:           $(LSLR_BIN)
-               $(LSROOT_BIN)
+all:           $(LSLR_BIN) $(LSROOT_BIN)
+
+clean:         
+               @rm -f *.o ../*.o lslr lsroot
+