summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-13 14:57:11 +0000
committerGitHub <noreply@github.com>2026-01-13 14:57:11 +0000
commit0e253b90957ef2e8e8105ea65b1ff87d513bca9e (patch)
treef9821c1d54f15d058ea508e6feb839c7b0439912 /Makefile
parent606db9c49b4f6f6514cbce92a11fb0b6a47fc122 (diff)
parent2aff28124d4b2d52aa0e772a60c86045dc3b4075 (diff)
Merge pull request #25 from Rucadi/main
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 f0aec07..0f88569 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
SHAREDIR = $(PREFIX)/share/zenc