aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b5ddaf2..078e40b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,11 @@ PREFIX = /usr/local
#CC = gcc
#CFLAGS = -Wall -Werror -Wextra -ansi -pedantic
LDFLAGS = -lcrypt
-ALL = crypt
-all: $(ALL)
-crypt: crypt.c crypt.h
+all: crypt
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)
+ rm -f -- crypt