⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 unix_LINUX下的简单数据库实现
💻
字号:
OSNAME = $(shell  uname -s)PlatForm=supportedifeq ($(OSNAME), SunOS)CPlus = CCCPlusFlags = -O2 -w -mt -xarch=v8SYSLIBS=-ldl -lnsl -lsocket  -lposix4elseifeq ($(OSNAME), Linux)CPlus = g++CPlusFlags = -O2 -wSYSLIBS= -rdynamic -lrt -lpthread -lcryptelsePlatForm=notsupportedall:        echo "CSQL is not supported on $(OSNAME) platform"endifendifINCL= -I$(CSQL_INSTALL_ROOT)/includeLIBS= -L$(CSQL_INSTALL_ROOT)/lib -lcsqlTARGETS = \        test001       ifeq ($(PlatForm), supported)all: $(TARGETS)endiftest001: inserttest1.c	$(CPlus) $(CPlusFlags) -o $@ $< $(INCL) $(LIBS) $(SYSLIBS)clean:	rm -f $(TARGETS)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -