blob: e263d1105180858800650c481504868d029ed724 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.POSIX:
.PHONY: all clean distclean install
PREFIX = /usr/local
#CFLAGS = -Werror -Wstrict -pedantic # Recommended for GCC
LDFLAGS = -lcrypt
ALL = crypt
all: $(ALL)
crypt: crypt.c crypt.h
install:
mkdir -p -- $(PREFIX)/bin
cp -- crypt $(PREFIX)/bin
mkdir -p -- $(PREFIX)/share/man/man1
cp -- crypt.1 $(PREFIX)/share/man/man1
clean distclean:
rm -f -- $(ALL)
|