-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
48 lines (38 loc) · 1.86 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
empty:
@echo "====No target! Please specify a target to make!"
@echo "====If you want to compile all targets, use 'make server'"
@echo "===='make all', which shoule be the default target is unavailable for UNKNOWN reaseon now."
CUR_DIR = $(shell pwd)/
.PHONY: clean all server share lua luaext core
all: clean server
server: share lua luaext core
clean:
rm -rf temp;
core:
cd core/luabus; make SOLUTION_DIR=$(CUR_DIR) -f luabus.mak;
cd core/quanta; make SOLUTION_DIR=$(CUR_DIR) -f quanta.mak;
lua:
cd extend/lua; make SOLUTION_DIR=$(CUR_DIR) -f lualib.mak;
cd extend/lua; make SOLUTION_DIR=$(CUR_DIR) -f lua.mak;
cd extend/lua; make SOLUTION_DIR=$(CUR_DIR) -f luac.mak;
luaext:
cd extend/laoi; make SOLUTION_DIR=$(CUR_DIR) -f laoi.mak;
cd extend/lbson; make SOLUTION_DIR=$(CUR_DIR) -f lbson.mak;
cd extend/lcodec; make SOLUTION_DIR=$(CUR_DIR) -f lcodec.mak;
cd extend/ldetour; make SOLUTION_DIR=$(CUR_DIR) -f ldetour.mak;
cd extend/ljson; make SOLUTION_DIR=$(CUR_DIR) -f ljson.mak;
cd extend/lmdb; make SOLUTION_DIR=$(CUR_DIR) -f lmdb.mak;
cd extend/lminiz; make SOLUTION_DIR=$(CUR_DIR) -f lminiz.mak;
cd extend/lsqlite; make SOLUTION_DIR=$(CUR_DIR) -f lsqlite.mak;
cd extend/lssl; make SOLUTION_DIR=$(CUR_DIR) -f lssl.mak;
cd extend/lstdfs; make SOLUTION_DIR=$(CUR_DIR) -f lstdfs.mak;
cd extend/ltimer; make SOLUTION_DIR=$(CUR_DIR) -f ltimer.mak;
cd extend/lualog; make SOLUTION_DIR=$(CUR_DIR) -f lualog.mak;
cd extend/luapb; make SOLUTION_DIR=$(CUR_DIR) -f luapb.mak;
cd extend/luaxlsx; make SOLUTION_DIR=$(CUR_DIR) -f luaxlsx.mak;
cd extend/luaxml; make SOLUTION_DIR=$(CUR_DIR) -f luaxml.mak;
cd extend/lunqlite; make SOLUTION_DIR=$(CUR_DIR) -f lunqlite.mak;
cd extend/lworker; make SOLUTION_DIR=$(CUR_DIR) -f lworker.mak;
cd extend/lyaml; make SOLUTION_DIR=$(CUR_DIR) -f lyaml.mak;
share:
cd extend/mimalloc; make SOLUTION_DIR=$(CUR_DIR) -f mimalloc.mak;