1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Update help in Makefile

This commit is contained in:
bel
2014-09-13 11:16:40 +02:00
parent 559a6ea45e
commit f96deec65d
2 changed files with 6 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ ifdef WITH_WEBSOCKET
CFLAGS += -DUSE_WEBSOCKET CFLAGS += -DUSE_WEBSOCKET
ifdef WITH_LUA ifdef WITH_LUA
CFLAGS += -DUSE_TIMERS CFLAGS += -DUSE_TIMERS
LIBS += -lrt LIBS += -lrt
endif endif
endif endif
@@ -144,7 +144,8 @@ help:
@echo "make unit_test build unit tests executable" @echo "make unit_test build unit tests executable"
@echo "" @echo ""
@echo " Make Options" @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_DEBUG=1 build with GDB debug support"
@echo " WITH_IPV6=1 with IPV6 support" @echo " WITH_IPV6=1 with IPV6 support"
@echo " WITH_WEBSOCKET=1 build with web socket support" @echo " WITH_WEBSOCKET=1 build with web socket support"

View File

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