summaryrefslogtreecommitdiff
path: root/lcrypt/Makefile
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-08 09:23:03 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-08 09:23:03 +0200
commit29e4a0512331a36c1cde22ed26c6ae059fa20757 (patch)
tree09496f029124fe4fc61aa7e014df50349128ced3 /lcrypt/Makefile
parent8fd11c9821c23c69da76158c87acdefe2ae9586f (diff)
Adding libtommath, libtomcrypt and lcrypt, mainly for the bignum support.
Diffstat (limited to 'lcrypt/Makefile')
-rw-r--r--lcrypt/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lcrypt/Makefile b/lcrypt/Makefile
new file mode 100644
index 0000000..ea1ac3b
--- /dev/null
+++ b/lcrypt/Makefile
@@ -0,0 +1,7 @@
+CFLAGS += -O3 -Wall -DLITTLE_ENDIAN -DLTM_DESC -DLTC_SOURCE -DUSE_LTM -fPIC -I$(TOMCRYPT)/src/headers -I$(LUA)/src -I../src
+
+lcrypt.o: lcrypt.c lcrypt_ciphers.c lcrypt_hashes.c lcrypt_math.c lcrypt_bits.c
+ $(CC) $(CFLAGS) -c lcrypt.c -o $@
+
+clean:
+ rm -f lcrypt.o lcrypt.so