Browse Source

Update help in Makefile

bel 10 years ago
parent
commit
f96deec65d
2 changed files with 6 additions and 5 deletions
  1. 3 2
      Makefile
  2. 3 3
      resources/Makefile.in-lua

+ 3 - 2
Makefile

@@ -88,7 +88,7 @@ ifdef WITH_WEBSOCKET
   CFLAGS += -DUSE_WEBSOCKET
   ifdef WITH_LUA
     CFLAGS += -DUSE_TIMERS
-	LIBS += -lrt
+    LIBS += -lrt
   endif
 endif
 
@@ -144,7 +144,8 @@ help:
 	@echo "make unit_test           build unit tests executable"
 	@echo ""
 	@echo " Make Options"
-	@echo "   WITH_LUA=1            build with Lua support"
+	@echo "   WITH_LUA=1            build with Lua support; include Lua as static library"
+	@echo "   WITH_LUA_SHARED=1     build with Lua support; use dynamic linking to liblua5.2.so"
 	@echo "   WITH_DEBUG=1          build with GDB debug support"
 	@echo "   WITH_IPV6=1           with IPV6 support"
 	@echo "   WITH_WEBSOCKET=1      build with web socket support"

+ 3 - 3
resources/Makefile.in-lua

@@ -1,4 +1,4 @@
-# 
+#
 # Copyright (c) 2013 No Face Press, LLC
 # License http://opensource.org/licenses/mit-license.php MIT License
 #
@@ -53,9 +53,9 @@ LUA_SOURCE_FILES = lapi.c  \
     lzio.c
 
 $(info Lua linked static)
-	
+
 endif
-	
+
 LUA_SOURCES = $(addprefix $(LUA_DIR)/, $(LUA_SOURCE_FILES))
 LUA_OBJECTS = $(LUA_SOURCES:.c=.o)