diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |