From 079b9ec2c13e00749981e7b36b9a2c2d368bae68 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Tue, 12 Feb 2013 12:33:44 +0000 Subject: [PATCH] Added linux_lua target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a3d8f418b..924147cf0 100644 --- a/Makefile +++ b/Makefile @@ -74,6 +74,10 @@ YASSL_SOURCES = \ all: @echo "make (linux|bsd|solaris|mac|windows|mingw|cygwin)" +# To build with lua, make sure you have Lua unpacked into lua-5.2.1 directory +linux_lua: + $(CC) mongoose.c main.c $(LUA_SOURCES) -DUSE_LUA -I$(LUA) -o $(PROG) -ldl $(CFLAGS) + # Make sure that the compiler flags come last in the compilation string. # If not so, this can break some on some Linux distros which use # "-Wl,--as-needed" turned on by default in cc command. -- GitLab