]> code.delx.au - refind/blob - Makefile
CD-eject feature & fix for GRUB 2 problems
[refind] / Makefile
1 # Makefile for rEFInd
2 CC=gcc
3 CXX=g++
4 CXXFLAGS=-O2 -fpic -D_REENTRANT -D_GNU_SOURCE -Wall -g
5 NAMES=prefit
6 SRCS=$(NAMES:=.c)
7 OBJS=$(NAMES:=.o)
8 HEADERS=$(NAMES:=.h)
9 LOADER_DIR=refind
10 FS_DIR=filesystems
11 LIB_DIR=libeg
12
13 # Build the Symbiote library itself.
14 all:
15 make -C $(LIB_DIR)
16 make -C $(LOADER_DIR)
17 # make -C $(FS_DIR)
18
19 filesystems:
20 make -C $(FS_DIR)
21
22 clean:
23 make -C $(LIB_DIR) clean
24 make -C $(LOADER_DIR) clean
25 # make -C $(FS_DIR) clean
26
27 # NOTE TO DISTRIBUTION MAINTAINERS:
28 # The "install" target installs the program directly to the ESP
29 # and it modifies the *CURRENT COMPUTER's* NVRAM. Thus, you should
30 # *NOT* use this target as part of the build process for your
31 # binary packages (RPMs, Debian packages, etc.). (Gentoo could
32 # use it in an ebuild, though....) You COULD, however, copy the
33 # files to a directory somewhere (/usr/share/refind or whatever)
34 # and then call install.sh as part of the binary package
35 # installation process.
36
37 install:
38 ./install.sh
39
40 # DO NOT DELETE