From cce37477a1a64e7891581f1c762e998552c268bd Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Mon, 28 Jan 2019 10:57:48 +1000 Subject: [PATCH] Default PREFIX to /usr/local --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a54b92a..703a7d7 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,10 @@ else $(error "Platform '$(SYSTEM)' not supported") endif -GLEW_PREFIX ?= /usr -GLEW_DEST ?= /usr +PREFIX ?= /usr/local +GLEW_PREFIX ?= $(PREFIX) +GLEW_DEST ?= $(GLEW_PREFIX) + BINDIR ?= $(GLEW_DEST)/bin LIBDIR ?= $(GLEW_DEST)/lib INCDIR ?= $(GLEW_DEST)/include/GL