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
1 changed files with 2 additions and 2 deletions

View File

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