summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrucadi <ruben.cano96@gmail.com>2026-01-13 10:23:48 +0100
committerrucadi <ruben.cano96@gmail.com>2026-01-13 10:23:48 +0100
commit2aff28124d4b2d52aa0e772a60c86045dc3b4075 (patch)
treee7e125f2e927bd7bcc646a51c952f8d96bdea52e /Makefile
parentec9797df2a589d0a8cd36beb632956a1ec1f6bfc (diff)
Add nix flake for building and distributing zen-c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b62685..acbd80c 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ OBJ_DIR = obj
OBJS = $(patsubst %.c, $(OBJ_DIR)/%.o, $(SRCS))
# Installation paths
-PREFIX = /usr/local
+PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1