blob: 6a4177a2639b59c92df7af19ff4c3a79260c0359 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
CC=gcc
CFLAGS?=-O2 -Wall -Wextra -Werror
PREFIX?=/usr/local
all: lpass
lpass: lpass.c
$(CC) -std=c99 -pedantic $(CFLAGS) -lcrypto -o lpass lpass.c
clean:
rm -rf lpass
install: all
mkdir -p $(PREFIX)/bin
install -m755 lpass $(PREFIX)/bin/lpass
uninstall:
rm -rf $(PREFIX)/bin/lpass
.PHONY: all clean install uninstall
|