浏览代码

Makefile: add WITH_ALL=1 as shortcut

bel2125 7 年之前
父节点
当前提交
9cb829ab8b
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Makefile

+ 9 - 0
Makefile

@@ -77,6 +77,15 @@ else
   LCC = $(CC)
 endif
 
+ifdef WITH_ALL
+  WITH_WEBSOCKET = 1
+  WITH_IPV6 = 1
+  WITH_LUA = 1
+  WITH_DUKTAPE = 1
+  WITH_SERVER_STATS = 1
+  #WITH_CPP is not defined, ALL means only real features, not wrappers
+endif
+
 ifdef WITH_LUA_SHARED
   WITH_LUA = 1
 endif