summaryrefslogtreecommitdiffstats
path: root/src/lua.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-12-05 14:31:02 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-12-05 14:31:02 (GMT)
commit2405db709fd065d64af5a6d1522c449b8ffc8cbf (patch)
treecc93404ff07339b5297bd006aa95ca159bb538a7 /src/lua.mk
parente059b0742797c920a50444c6559514aae1316185 (diff)
downloadmxe-2405db709fd065d64af5a6d1522c449b8ffc8cbf.zip
mxe-2405db709fd065d64af5a6d1522c449b8ffc8cbf.tar.gz
mxe-2405db709fd065d64af5a6d1522c449b8ffc8cbf.tar.bz2
add test program for lua
Diffstat (limited to 'src/lua.mk')
-rw-r--r--src/lua.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua.mk b/src/lua.mk
index e21a16f..3e156fa 100644
--- a/src/lua.mk
+++ b/src/lua.mk
@@ -32,4 +32,9 @@ define $(PKG)_BUILD
RANLIB='$(TARGET)-ranlib' \
INSTALL='$(INSTALL)' \
install ranlib
+
+ '$(TARGET)-gcc' \
+ -W -Wall -Werror -std=c99 -pedantic \
+ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-lua.exe' \
+ -llua
endef