# meta-Makefile for rEFInd filesystem drivers # # Most of the functionality is in Make.common; this Makefile merely # deletes critical temporary files and calls Make.common with the # name of the driver to be built. This is done because of a dependency # in the fsw_efi.c file on the filesystem type; this file must be # recompiled for each new filesystem built. INSTALL_DIR = /boot/efi/EFI/refind/drivers all: ext2fs reiserfs iso9660 hfs ext2fs: rm -f fsw_efi.o make DRIVERNAME=ext2 -f Make.common reiserfs: rm -f fsw_efi.o make DRIVERNAME=reiserfs -f Make.common iso9660: rm -f fsw_efi.o make DRIVERNAME=iso9660 -f Make.common hfs: rm -f fsw_efi.o make DRIVERNAME=hfs -f Make.common # utility rules clean: rm -f *~ *.so *.o *.efi *.dll err.txt ext2*.txt hfs*.txt iso9660*.txt reiserfs*.txt install: mkdir -p $(INSTALL_DIR) cp *.efi $(INSTALL_DIR) # DO NOT DELETE