Make PREFIX configurable in the Makefile

This commit is contained in:
Stig-Ørjan Smelror 2024-07-28 18:37:18 +02:00
parent 8ae0b72624
commit 020aac91ff

View File

@ -17,7 +17,7 @@ RESOURCE_C = resources.c
RESOURCE_H = resources.h RESOURCE_H = resources.h
# Installation directories # Installation directories
PREFIX = /usr/local PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
DATADIR = $(PREFIX)/share/ssdd DATADIR = $(PREFIX)/share/ssdd