summaryrefslogtreecommitdiff
path: root/lcrypt/Makefile
diff options
context:
space:
mode:
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