aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..01552d2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+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
+