📄 makefile
字号:
all: server clientCC=ccCFLAGS=-I/usr/include/db1 -pedantic -Wall# For debugging un-comment the next line# DFLAGS=-DDEBUG_TRACE=1 -g# Include for systems with dbm, but only as part of the BSD licensed version,# and not in the standard locations. This is the default...DBM_INC_PATH=/usr/include/db1DBM_LIB_PATH=/usr/libDBM_LIB_FILE=db# For systems with dbm in the standard places, comment out the previous# definitions, and uncomment these# #DBM_INC_PATH=/usr/include#DBM_LIB_PATH=/usr/lib#DBM_LIB_FILE=ndbm# For systems where the gdbm libraries have been fetched and installed# separately in the default locations under /usr/local# comment out the previous definitions, and uncomment these#DBM_INC_PATH=/usr/local/include#DBM_LIB_PATH=/usr/local/lib#DBM_LIB_FILE=gdbm.c.o: $(CC) $(CFLAGS) -I$(DBM_INC_PATH) $(DFLAGS) -c $<app_ui.o: app_ui.c cd_data.hcd_dbm.o: cd_dbm.c cd_data.hclient_f.o: clientif.c cd_data.h cliserv.hipc_imp.o: ipc_imp.c cd_data.h cliserv.hserver.o: server.c cd_data.h cliserv.hclient: app_ui.o clientif.o ipc_imp.o $(CC) -o client $(DFLAGS) app_ui.o clientif.o ipc_imp.oserver: server.o cd_dbm.o ipc_imp.o $(CC) -o server -L$(DBM_LIB_PATH) $(DFLAGS) server.o cd_dbm.o ipc_imp.o -l$(DBM_LIB_FILE)clean: rm -f server client_app *.o *~
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -