ecrypt/Makefile
2023-03-24 11:37:57 -04:00

10 lines
251 B
Makefile

include config.mk
all: src/main.c
$(CC) $(CFLAGS) $(LDFLAGS) src/main.c -o src/ecrypt
install: src/ecrypt man/ecrypt.1
install src/ecrypt $(PREFIX)/bin
install -g 0 -o 0 -m 0644 man/ecrypt.1 /usr/local/man/man1
gzip /usr/local/man/man1/ecrypt.1