📄 server.mak
字号:
all: server.exe
server.res: server.rc server.h
rc -r server.rc
server.obj: server.c server.h
cl -c -AS -Gsw -Oas -Zpe server.c
# win_sock.lib isn't in the dependency list to avoid having to specify a path.
# Also assumes the path of wsockets.lib is in the lib environment variable.
server.exe: server.obj server.def
link /MAP /NOD server, , , slibcew libw wsockets, server.def
rc server.res
# if the .res is new and the .exe is not, update the resource.
# note that the .rc file can be updated without having to either compile
# or link the file
server.exe: server.res
rc server.res
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -