Install to /usr/local by default when using Makefiles

Software should install to /usr/local by default, as /usr is for the
operating system managed libraries.

Closes #52.
This commit is contained in:
Ross Burton 2021-07-22 16:24:04 +01:00 committed by Nigel Stewart
parent 80e061f85d
commit 679a3b17fa

View File

@ -40,8 +40,8 @@ else
$(error "Platform '$(SYSTEM)' not supported") $(error "Platform '$(SYSTEM)' not supported")
endif endif
GLEW_PREFIX ?= /usr GLEW_PREFIX ?= /usr/local
GLEW_DEST ?= /usr GLEW_DEST ?= /usr/local
BINDIR ?= $(GLEW_DEST)/bin BINDIR ?= $(GLEW_DEST)/bin
LIBDIR ?= $(GLEW_DEST)/lib LIBDIR ?= $(GLEW_DEST)/lib
INCDIR ?= $(GLEW_DEST)/include/GL INCDIR ?= $(GLEW_DEST)/include/GL