makefile

来自「ears-0.32, linux下有用的语音信号处理工具包」· 代码 · 共 70 行

TXT
70
字号
#------------------------------------------------------------------------------# You should not need to change anything below this line.#------------------------------------------------------------------------------sources     = $(wildcard *.cc *.c)includedirs = -I..objects     = $(addsuffix .o,$(basename $(sources)))defs_notemp = $(SYSDEFS) $(strip $(RECOGS)) $(strip $(OPT_DEBUG))defs        = -fno-implicit-templates $(defs_notemp).c.o:	$(COMP) -c $(includedirs) $(defs) $<.cc.o:	$(COMP) -c $(includedirs) $(defs) $<#	$(CC) -c $(CFLAGS) -fhandle-exceptions -frtti -DEXCEPTIONS $(DEFS) $<all: libothers.a#-----------------------------------------------------------------------------# Libraries#-----------------------------------------------------------------------------libothers.a: $(objects)	ar rcs libothers.a $(objects)#------------------------------------------------------------------------------# cleaning up#------------------------------------------------------------------------------deltrash:	rm -f *~ DEADJOE t tt logclean: deltrash	rm -f *.o .dependdistclean: clean	rm -f *.arealclean: distclean	# delete everything that can't be build by any meansveryclean: realclean	# this is not GNU, but I'm used to it#------------------------------------------------------------------------------# documentation, version control#------------------------------------------------------------------------------ci:	@ci -u -q0.20.1 $(sources) $(headers)rcsbkp:#------------------------------------------------------------------------------# dependencies#------------------------------------------------------------------------------mystring.o:	$(COMP) -c $(includedirs) $(defs) mystring.cctemplates.o: 	$(COMP) -c -O $(includedirs) $(defs_notemp) templates.ccifeq (.depend,$(wildcard .depend))include .dependdepend:elsedepend: $(sources)	@echo Making dependencies...	@$(CPP) $(includedirs) -M $(defs) $(sources) > .dependendif

⌨️ 快捷键说明

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