Add install prefix to Makefile

This commit is contained in:
Cameron Reed 2024-07-13 18:01:57 -06:00
parent 9cc2348ded
commit caf1f30040

View File

@ -5,8 +5,10 @@ STATIC_TYPE = STATIC
BUILD_DIR = bin BUILD_DIR = bin
SOURCE_DIR = Src SOURCE_DIR = Src
HEADER_DIR = Inc HEADER_DIR = Inc
HEADER_INSTALL_DIR = /usr/local/include
INSTALL_DIR = /usr/local/lib INSTALL_PREFIX ?= /usr/local
HEADER_INSTALL_DIR = $(INSTALL_PREFIX)/include
INSTALL_DIR = $(INSTALL_PREFIX)/lib
LIB_NAME = argParser LIB_NAME = argParser
ifeq ($(TYPE), $(SHARED_TYPE)) ifeq ($(TYPE), $(SHARED_TYPE))