dir.mk

来自「编译工具」· MK 代码 · 共 60 行

MK
60
字号
OBJS  = cexp.o cccp.o config.o alloca.oCSRCS = cexp.c cccp.c config.c alloca.cifdef Win32PlatformOBJS  += index.oCSRCS += index.cendifDIR_CPPFLAGS += -DHAVE_CONFIG_H -I.omnicpp = $(patsubst %,$(BinPattern),omnicpp)all:: $(omnicpp)##############################################################################   Platform specific things                                                ##############################################################################ifdef AIXifeq ($(notdir $(CXX)),xlC_r)DIR_CPPFLAGS += -maendifendififdef Win32Platformexport:: $(omnicpp)	$(ExportExecutable)elseifdef Cygwinexport:: $(omnicpp)	@(dir="$(EXPORT_TREE)/$(BINDIR)"; file="$(omnicpp)"; \	$(ExportExecutableFileToDir))elseexport:: $(omnicpp)	@(dir="$(EXPORT_TREE)/$(LIBDIR)"; file="$(omnicpp)"; \	$(ExportExecutableFileToDir))endififdef INSTALLTARGETinstall:: $(omnicpp)	@$(InstallExecutable)endifendif$(omnicpp): $(OBJS)	@(libs=""; $(CExecutable))veryclean::	$(RM) $(omnicpp)

⌨️ 快捷键说明

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