ep/Makefile

20 lines
361 B
Makefile
Raw Normal View History

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
# 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
ep: ep.c out.c path.c git.c lang.c $(LANGUAGE)
2021-02-21 21:38:13 -06:00
install: ep
install -m755 $< $(bindir)/ep