summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2012-05-20 15:14:22 (GMT)
committerJan Huwald <jh@sotun.de>2012-05-20 15:14:22 (GMT)
commit608a3598f6eb5be4cb2305a4eb0b1b721d0617a6 (patch)
tree3cc41707ac70e8ab110536e1f180252ed8169c3a /Makefile
parent69e30efee31d53ad19093c86b4acf46844ac6ce3 (diff)
Makefile: add locally built NaCL library
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b4d556b..1509435 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,11 @@ all: $(BIN)
.PHONY: clean
clean:
rm -f $(BIN) *~
+
+nacl/include:
+ mkdir nacl
+ wget http://hyperelliptic.org/nacl/nacl-20110221.tar.bz2 -O - | tar jxf - -C nacl
+ cd nacl/* && ./do
+ mkdir nacl/include
+ ln -s ../../$$(ls -d nacl/*/build/*/include/*/ | head) nacl/include/nacl
+ ln -s ../$$(ls -d nacl/*/build/*/lib/*/ | head) nacl/lib
contact: Jan Huwald // Impressum