13 lines
435 B
Makefile
13 lines
435 B
Makefile
include config.mk
|
|
|
|
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:
|
|
install src/ecrypt $(PREFIX)/bin
|
|
install -g 0 -o 0 -m 0644 man/ecrypt.1 $(PREFIX)/share/man/man1
|
|
gzip /usr/local/man/man1/ecrypt.1
|