From: Stefan Agner Date: Thu, 20 Dec 2012 18:39:07 +0000 (+0100) Subject: Merge branch 'master' of git://git.code.sf.net/p/refind/code X-Git-Url: https://code.delx.au/refind/commitdiff_plain/d2370de648f795ccdf7fe76786c9516568cbe529?hp=34d525d050a59927fce87dbce5af4bd47c8fbe52 Merge branch 'master' of git://git.code.sf.net/p/refind/code --- diff --git a/filesystems/test/Makefile b/filesystems/test/Makefile new file mode 100644 index 0000000..d1ed07a --- /dev/null +++ b/filesystems/test/Makefile @@ -0,0 +1,26 @@ + +DRIVERNAME = ext4 + +CC = /usr/bin/gcc +CFLAGS = -Wall -g -D_REENTRANT -DVERSION=\"$(VERSION)\" -DHOST_POSIX -I ../ -DFSTYPE=$(DRIVERNAME) + +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_ext4.o ../fsw_hfs.o ../fsw_iso9660.o ../fsw_reiserfs.o fsw_posix.o lsroot.o +LSROOT_BIN = lsroot + + +$(LSLR_BIN): $(LSLR_OBJS) + $(CC) $(CFLAGS) -o $(LSLR_BIN) $(LSLR_OBJS) $(LDFLAGS) + + +$(LSROOT_BIN): $(LSROOT_OBJS) + $(CC) $(CFLAGS) -o $(LSROOT_BIN) $(LSROOT_OBJS) $(LDFLAGS) + +all: $(LSLR_BIN) $(LSROOT_BIN) + +clean: + @rm -f *.o ../*.o lslr lsroot +