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

📄 makefile

📁 这是一款很好用的工具包
💻
字号:
##    File:   Makefile.example#    Author: The SRI DECIPHER (TM) System#    Date:   Thu Sep  9 12:04:47 1993##    Description:#	This is the example makefile to start from when adding new#       modules to the DECIPHER System.  To use this makefile, first#       copy it to your directory as the file "Makefile".  Second,#       replace the word "Example" in the text below with the real name#	of your library.  Next replace the the example filenames with#	the names of your actual declarations and source files in the#	appropriate variable definitions.  Finally clean up by deleting#	any lines not relevant to your module and updating this header#       to describe your new module.  Do not forget to use the proper#       RCS keywords!##    Copyright (c) 1993, SRI International.  All Rights Reserved.##    $Header: /home/srilm/devel/misc/src/RCS/Makefile,v 1.25 2006/01/09 22:47:54 stolcke Exp $## Include common SRILM variable definitions.include $(SRILM)/common/Makefile.common.variables# Define variables.# Example Library declarations files.EXTERNAL_LIB_HEADERS = \	$(SRCDIR)/cfuncproto.h          \	$(SRCDIR)/option.h		\	$(SRCDIR)/zio.h			\	$(SRCDIR)/mkdir.h		\	$(SRCDIR)/Boolean.h		\	$(SRCDIR)/Debug.h		\	$(SRCDIR)/File.h		\	$(SRCDIR)/version.hINTERNAL_LIB_HEADERS = # Example Library source files.LIB_SOURCES = 				\	$(SRCDIR)/option.c		\	$(SRCDIR)/zio.c			\	$(SRCDIR)/fcheck.c		\	$(SRCDIR)/fake-rand48.c		\	$(SRCDIR)/Debug.cc		\	$(SRCDIR)/File.cc		\	$(SRCDIR)/version.cifeq ($(NO_TCL), )LIB_SOURCES +=	$(SRCDIR)/tclmain.ccendif# Example Library object files.LIB_OBJECTS = $(patsubst $(SRCDIR)/%.cc,$(OBJDIR)/%$(OBJ_SUFFIX),\		$(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%$(OBJ_SUFFIX),$(LIB_SOURCES)))# Example Library.LIBRARY = $(OBJDIR)/$(LIB_PREFIX)misc$(LIB_SUFFIX)ADDITIONAL_INCLUDES += \	$(TCL_INCLUDE)ADDITIONAL_LIBRARIES += \	$(TCL_LIBRARY) \	$(MATH_LIBRARY)# Example programs.PROGRAM_NAMES = \	ztest \	testFilePROGRAMS = $(PROGRAM_NAMES:%=$(BINDIR)/%$(EXE_SUFFIX))PROGRAM_SOURCES = $(foreach prog,$(PROGRAM_NAMES),\			$(wildcard $(SRCDIR)/$(prog).c) \			$(wildcard $(SRCDIR)/$(prog).cc))PROGRAM_OBJECTS = $(PROGRAM_NAMES:%=$(OBJDIR)/%$(OBJ_SUFFIX))# Libraries to be linked with the Example programs.LIBRARIES = $(LIBRARY) \	    $(ADDITIONAL_LIBRARIES)# All of the types of files.ALL_HEADERS = $(EXTERNAL_LIB_HEADERS) \	      $(INTERNAL_LIB_HEADERS)ALL_SOURCES = $(LIB_SOURCES) \	      $(PROGRAM_SOURCES)ALL_OBJECTS = $(LIB_OBJECTS) \	      $(PROGRAM_OBJECTS)ALL_LIBRARIES = $(LIBRARY)ALL_PROGRAMS = $(PROGRAMS)ALL_PROGRAM_NAMES = $(PROGRAM_NAMES)# Define pseudo-targets.# Make sure the library does not get deleted if the make is interrupted..PRECIOUS:	$(LIBRARY)# Define targets.all:	libraries$(LIBRARY):	$(LIB_OBJECTS)	$(ARCHIVE) $(AR_OUTPUT_OPTION) $^	$(RANLIB) $@ $(DEMANGLE_FILTER)SRILMversion.h:	$(SRILM)/RELEASE $(SRILM)/Copyright	echo '#define SRILM_RELEASE "'`cat $(SRILM)/RELEASE`'"' > $@	sed -f $(SRILM)/sbin/stringify-copyright $(SRILM)/Copyright >> $@# Variables and Targets for released systemEXPORTED_HEADERS   = $(EXTERNAL_LIB_HEADERS)EXPORTED_LIBRARIES = $(LIBRARY)EXPORTED_PROGRAMS  = release:	release-headers release-libraries release-programsdepend:	SRILMversion.hclean:	rm -f SRILMversion.h# Include common SRILM target definitions.include $(SRILM)/common/Makefile.common.targets

⌨️ 快捷键说明

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