]> code.delx.au - refind/blob - Makefile
Added new "icons_dir" configuration file token.
[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 LIB_DIR=libeg
11
12 # Build the Symbiote library itself.
13 all:
14 make -C $(LIB_DIR)
15 make -C $(LOADER_DIR)
16
17 clean:
18 make -C $(LIB_DIR) clean
19 make -C $(LOADER_DIR) clean
20
21 # NOTE TO DISTRIBUTION MAINTAINERS:
22 # The "install" target installs the program directly to the ESP
23 # and it modifies the *CURRENT COMPUTER's* NVRAM. Thus, you should
24 # *NOT* use this target as part of the build process for your
25 # binary packages (RPMs, Debian packages, etc.). (Gentoo could
26 # use it in an ebuild, though....) You COULD, however, copy the
27 # files to a directory somewhere (/usr/share/refind or whatever)
28 # and then call install.sh as part of the binary package
29 # installation process.
30
31 install:
32 ./install.sh
33
34 # DO NOT DELETE