makefile

来自「extremeDB s sample code,useful for you」· 代码 · 共 94 行

TXT
94
字号
## Makefile# OS   : Linux, QNX, Solaris, HPUX# Tool : gcc or native complier## Copyright (c) 2001-2006 McObject LLC.##.PHONY: pickmem mcolib all clean distclean mcosql mcorsql mcorpc mcohvMAKEFLAGS += --no-print-directoryMCO_MCOLIB=$(shell if test -d mcolib; then echo present; else echo absent; fi )MCO_PICKMEM=$(shell if test -d pickmem; then echo present; else echo absent; fi )MCO_MCOSQL=$(shell if test -d mcoapi; then echo present; else echo absent; fi )#MCO_MCORSQL=$(shell if test -d mcorsql; then echo present; else echo absent; fi )MCO_MCORPC=$(shell if test -d mcorpc; then echo present; else echo absent; fi )MCO_MCOHV=$(shell if test -d mcohv; then echo present; else echo absent; fi )all: pickmem mcolib mcosql mcorsql mcorpc mcohvpickmem:ifeq ($(MCO_PICKMEM),present)	$(MAKE) -C ./pickmem/endifmcolib:ifeq ($(MCO_MCOLIB),present)	@$(MAKE) -C mcolib allendifmcosql:ifeq ($(MCO_MCOSQL),present)	@$(MAKE) -C mcoapi all	@$(MAKE) -C mcosql allendifmcorsql:ifeq ($(MCO_MCORSQL),present)	@$(MAKE) -C mcorsql allendifmcohv:ifeq ($(MCO_MCOHV),present)	@$(MAKE) -C mcohv allendifmcorpc:ifeq ($(MCO_MCORPC),present)	@$(MAKE) -C mcorpc allendifclean:ifeq ($(MCO_PICKMEM),present)	@$(MAKE) -C pickmem cleanendififeq ($(MCO_MCOLIB),present)	@$(MAKE) -C mcolib cleanendififeq ($(MCO_MCOSQL),present)	@$(MAKE) -C mcoapi clean	@$(MAKE) -C mcosql cleanendififeq ($(MCO_MCORSQL),present)	@$(MAKE) -C mcorsql cleanendififeq ($(MCO_MCORPC),present)	@$(MAKE) -C mcorpc cleanendififeq ($(MCO_MCOHV),present)	@$(MAKE) -C mcohv cleanendifdistclean:ifeq ($(MCO_PICKMEM),present)	@$(MAKE) -C pickmem distcleanendififeq ($(MCO_MCOLIB),present)	@$(MAKE) -C mcolib distcleanendififeq ($(MCO_MCOSQL),present)	@$(MAKE) -C mcoapi distclean	@$(MAKE) -C mcosql distcleanendififeq ($(MCO_MCORSQL),present)	@$(MAKE) -C mcorsql distcleanendififeq ($(MCO_MCORPC),present)	@$(MAKE) -C mcorpc distcleanendififeq ($(MCO_MCOHV),present)	@$(MAKE) -C mcohv distcleanendif

⌨️ 快捷键说明

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