summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5e7cb4..d195472 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,12 @@ CFLAGS = -Wall -Wextra -Wpedantic -std=c23 \
-I$$(brew --prefix gettext)/include \
-L$$(brew --prefix gettext)/lib \
-lintl
+PODIR = /usr/local/share/locale
all: tiktok
tiktok: main.c
- $(CC) $(CFLAGS) -o $@ $<
+ $(CC) $(CFLAGS) -DPODIR='"$(PODIR)"' -o $@ $<
extract:
xgettext --from-code=UTF-8 -k_ -o po/messages.pot main.c