.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)