ecrypt/Makefile

13 lines
435 B
Makefile
Raw Normal View History

2023-03-24 11:22:19 -04:00
include config.mk
2023-05-16 11:54:19 -04:00
all:
$(CC) $(CFLAGS) $(LDFLAGS) -c src/ecrypt.c -o src/ecrypt.o
$(CC) $(CFLAGS) $(LDFLAGS) -c src/checkkey.c -o src/checkkey.o
2023-05-16 12:19:02 -04:00
$(CC) $(CFLAGS) $(LDFLAGS) -c src/genkey.c -o src/genkey.o
2023-05-16 11:54:19 -04:00
$(CC) $(CFLAGS) $(LDFLAGS) -o src/ecrypt src/ecrypt.o src/checkkey.o src/genkey.o
2023-03-24 11:22:19 -04:00
2023-05-16 11:54:19 -04:00
install:
2023-03-24 11:22:19 -04:00
install src/ecrypt $(PREFIX)/bin
2023-05-16 11:54:19 -04:00
install -g 0 -o 0 -m 0644 man/ecrypt.1 $(PREFIX)/share/man/man1
2023-03-24 11:37:57 -04:00
gzip /usr/local/man/man1/ecrypt.1