gnu_compile_and_link.make
来自「回音消除源码相关对研究这块的有帮助我就是用这个来做回音消除的」· MAKE 代码 · 共 82 行
MAKE
82 行
# file: $isip/util/misc/make/compile_and_link.make# this makefile contains a standard set of dependencies and targets# that are used by all makefiles in the environment.##------------------------------------------------------------------------------## define variables section##------------------------------------------------------------------------------# create filenames#SRCS = $(wildcard $(ISIP_FILES))OBJS = $(subst .cc,.o,$(SRCS))# define flags for the C++ and C compilers#I_FLAGS = $(ISIP_IFLAGS) $(ISIP_INCLUDE)CPLUS_FLAGS = -Wall $(ISIP_CFLAGS) -cC_FLAGS =LD_FLAGS = $(ISIP_CFLAGS)# define dependencies#ALL_DEPS = $(ISIP_DEPS)# define libraries#ALL_LIBS = $(ISIP_LFLAGS_BEFORE) -L$(ISIP)/lib $(ISIP_LIBS) $(ISIP_LFLAGS_AFTER)# define suffixes#.SUFFIXES: .cc# make sure we clean up# note: this code is executed ALL the time#.DONE:# make everything silent##.SILENT:#------------------------------------------------------------------------------## define targets and dependencies##------------------------------------------------------------------------------# define executable dependencies#$(ISIP_EXE): $(OBJS) echo "> linking $(ISIP_EXE)" gcc $(LD_FLAGS) -o $(ISIP_EXE) $(OBJS) $(ALL_LIBS)# include file dependencies (define only the significant relationships)#$(OBJS): $(ALL_DEPS)# define source file dependencies#.cc.o: echo "> compiling " $< "with flags" $(ISIP_CFLAGS) gcc $(I_FLAGS) $(CPLUS_FLAGS) $(C_FLAGS) $<# clean up#clean: echo "> removing binaries" $(ISIP_EXE) rm $(ISIP_EXE) echo "> removing" $(OBJS) rm $(OBJS)# check existence#check: $(SRCS)## end of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?