aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:45:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2020-01-20 23:45:25 +1300
commit0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b (patch)
treef61af28328ca74e489de6bbf20d85e135e2173f4 /Makefile
parentMerge branch 'release/v1.2.0' into develop (diff)
downloadcrypt-0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b.tar.gz
crypt-0aa5c9ce4a0cbb257bfe176ff6ff73df21fca20b.zip
Realised there was no need for a separate header
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