ecrypt 2.0.0

This commit is contained in:
2023-05-16 11:54:19 -04:00
parent 8dba658d6c
commit dc00b66cf9
7 changed files with 213 additions and 4 deletions

View File

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