2021-02-21 22:57:46 -06:00
|
|
|
LANGUAGE = po/strings_pt.c
|
|
|
|
CFLAGS = -g -Og -pipe -Ipo/ -D_GNU_SOURCE
|
2021-02-21 21:38:13 -06:00
|
|
|
|
2021-02-21 23:39:33 -06:00
|
|
|
# default to static to run on glibc and musl
|
|
|
|
STATIC = -static
|
|
|
|
LDFLAGS = $(STATIC) -pthread
|
|
|
|
|
2021-02-21 21:38:13 -06:00
|
|
|
# defaults to cproc because "why not?"
|
|
|
|
CC = cproc
|
|
|
|
|
|
|
|
PREFIX = ${HOME}/.local
|
|
|
|
bindir = $(PREFIX)/bin
|
|
|
|
|
|
|
|
all: ep
|
|
|
|
|
2021-02-22 01:42:18 -06:00
|
|
|
ep: ep.c out.c path.c git.c lang.c $(LANGUAGE)
|
2021-02-21 22:39:58 -06:00
|
|
|
|
2021-02-21 21:38:13 -06:00
|
|
|
install: ep
|
|
|
|
install -m755 $< $(bindir)/ep
|