ep/Makefile

24 lines
457 B
Makefile

LANGUAGE = pt
#NOCOLOR = -DNOCOLOR
CFLAGS = -Wall -Wextra -Wno-parentheses -g -Og -pipe -Ipo/ -D_GNU_SOURCE $(NOCOLOR)
# default to static to run on glibc and musl
STATIC = -static
LDFLAGS = $(STATIC) -pthread
# 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 ssh.c colors.c po/strings_$(LANGUAGE).c
install: ep
install -m755 $< $(bindir)/ep
clean:
rm -f ep