-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
61 lines (46 loc) · 2.28 KB
/
makefile
File metadata and controls
61 lines (46 loc) · 2.28 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#-----------------------------------------------------------------------
APP := XGame
TARGET := LoginServer
CONFIG :=
STRIP_FLAG := N
TARS2CPP_FLAG :=
CFLAGS += -lm
CXXFLAGS += -lm
INCLUDE += -I/usr/local/cpp_modules/wbl/include
LIB += -L/usr/local/cpp_modules/wbl/lib -lwbl
INCLUDE += -I/usr/local/cpp_modules/json-0.5/include
LIB += -L/usr/local/cpp_modules/json-0.5/lib -ljson
INCLUDE += -I/usr/local/cpp_modules/curl/include
LIB += -L/usr/local/cpp_modules/curl/lib -lcurl
INCLUDE += -I/usr/local/cpp_modules/pcre/include
LIB += -L/usr/local/cpp_modules/pcre/lib -lpcre
INCLUDE += -I/usr/local/cpp_modules/protobuf/include
LIB += -L/usr/local/cpp_modules/protobuf/lib -lprotobuf
INCLUDE += -I/usr/local/cpp_modules/uuid/include
LIB += -L/usr/local/cpp_modules/uuid/lib -luuid
INCLUDE += -I/usr/local/cpp_modules/maxminddb/include
LIB += -L/usr/local/cpp_modules/maxminddb/lib -lmaxminddb
INCLUDE += -I/usr/local/cpp_modules/jwt/include
LIB += -L/usr/local/cpp_modules/jwt/ -lssl -lcrypto -lz
#-----------------------------------------------------------------------
include /home/tarsproto/XGame/Comm/Comm.mk
include /home/tarsproto/XGame/util/util.mk
include /home/tarsproto/XGame/protocols/protocols.mk
include /home/tarsproto/XGame/ConfigServer/ConfigServer.mk
include /home/tarsproto/XGame/HallServer/HallServer.mk
include /home/tarsproto/XGame/GlobalServer/GlobalServer.mk
include /home/tarsproto/XGame/PushServer/PushServer.mk
include /home/tarsproto/XGame/RouterServer/RouterServer.mk
include /home/tarsproto/XGame/DBAgentServer/DBAgentServer.mk
include /home/tarsproto/XGame/GameRecordServer/GameRecordServer.mk
include /home/tarsproto/XGame/Log2DBServer/Log2DBServer.mk
include /usr/local/tars/cpp/makefile/makefile.tars
#-----------------------------------------------------------------------
jf: $(TARGET)
cp -f $(TARGET) /usr/local/app/tars/tarsnode/data/JFGame.LoginServer/bin/
daqi:
cp -f $(TARGET) /usr/local/app/tars/tarsnode/data/DaqiGame.LoginServer/bin/
xgame:
cp -f $(TARGET) /usr/local/app/tars/tarsnode/data/XGame.LoginServer/bin/
100:
sshpass -p 'awzs2022' scp ./LoginServer root@10.10.10.100:/home/yuj/server/loginserver