summaryrefslogtreecommitdiff
path: root/Build/source/libs/luamd5/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/luamd5/makefile')
-rw-r--r--Build/source/libs/luamd5/makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/libs/luamd5/makefile b/Build/source/libs/luamd5/makefile
new file mode 100644
index 00000000000..78ea7b7cb60
--- /dev/null
+++ b/Build/source/libs/luamd5/makefile
@@ -0,0 +1,23 @@
+# Location of Lua header files
+LUA_DIR = /usr/local/include/
+
+# Compilation parameters
+CC = gcc
+CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return
+CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 -I$(LUA_DIR)
+
+
+# Files in this distribution
+FILES = makefile \
+ md5.c \
+ md5lib.c \
+ md5.h \
+ md5.lua \
+ md5.html \
+ md5tests.lua
+
+# Rule to create shared library, to be used with `loadlib' (see also
+# file `md5.lua')
+md5 : md5.o md5lib.o
+ ld -o libmd5.so -shared md5.o md5lib.o
+