aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-16 17:27:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-16 17:27:00 +1300
commit380da28fdb3d23658b5ec3d4645e0a45472d5f4d (patch)
treee50b909c3d7a3d9d831bd3c9257566b787b1c269
parentBreak install target in two (diff)
downloadcrypt-380da28fdb3d23658b5ec3d4645e0a45472d5f4d.tar.gz
crypt-380da28fdb3d23658b5ec3d4645e0a45472d5f4d.zip
Add explicit crypt target
This way changes in crypt.h trigger a rebuild
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ced717c..243fd88 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,9 @@ all : crypt
clean :
rm -f crypt
+crypt : crypt.c crypt.h
+ $(CC) $(CFLAGS) $(LDFLAGS) crypt.c -o $@
+
install : install-bin install-min
install-bin : crypt