aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 05d720be6f56171de34c42c359cb8d5cb461920c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: all clean install

CFLAGS = -pedantic -std=c11 -Wall -Wextra
LDFLAGS = -lcrypt
PREFIX := /usr/local

all : crypt

clean :
	rm -f crypt

install : crypt
	mkdir -p "$(PREFIX)"/bin "$(PREFIX)"/share/man/man1
	install crypt "$(PREFIX)"/bin
	install crypt.1 "$(PREFIX)"/share/man/man1