aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric B Munson <emunson@mgebm.net>2010-09-02 11:44:58 +0100
committerEric B Munson <emunson@mgebm.net>2010-09-24 09:56:36 -0600
commitef60eda96851e26f74dac2f0d826c01f597bf886 (patch)
tree7353ee312b594a6905fce7f00231859d38fbc72c /Makefile
parent198001d1df4cc6491095543c1ed193a7da70e84c (diff)
downloadlibhugetlbfs-ef60eda96851e26f74dac2f0d826c01f597bf886.tar.gz
Change PREFIX and EXEDIR to be set with ?=
This patch alters the Makefile to use ?= to set the EXEDIR and the PREFIX which will allow easier modification of these values during scripted builds. Signed-off-by: Eric B Munson <emunson@mgebm.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d9ac6c..d781871 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX = /usr/local
-EXEDIR = /bin
+PREFIX ?= /usr/local
+EXEDIR ?= /bin
LIBOBJS = hugeutils.o version.o init.o morecore.o debug.o alloc.o shm.o kernel-features.o
LIBPUOBJS = init_privutils.o debug.o hugeutils.o kernel-features.o