📄 makefile
字号:
CC = $(COMP)CDEFS = -I..#CFLAGS = -DDEBUG_MATH -gCFLAGS = -O -ffast-math -fomit-frame-pointer -funroll-loops# Joerg Arndt says these are optimal for gcc-2.7.2# Here are the files we usesources = $(wildcard *.cc *.c)includedirs = -I..LIBOBJFILES = rasta.o anal.o powspec.o noise_est.o mapping.o \ audspec.o nl_audspec.o rasta_filt.o inverse_nl.o post_audspec.o \ lpccep.o fft.o fvecsubs.o svecsubs.oSRCFILES = rasta.c init.c anal.c powspec.c noise_est.c mapping.c \ audspec.c nl_audspec.c rasta_filt.c inverse_nl.c post_audspec.c \ lpccep.c fft.c io.c fvecsubs.c svecsubs.c debug.cHDRFILES = functions.h rasta.hDISTFILES = $(SRCFILES) $(HDRFILES) README map_weights.dat rasta.1 Makefile# This defines how we actually make the programall: libmrasta.alibmrasta.a: $(LIBOBJFILES) ar rcs libmrasta.a $(LIBOBJFILES)libmrasta_g.a: $(LIBOBJFILES) ar rcs libmrasta_g.a $(LIBOBJFILES)rasta: $(OBJFILES) Makefile $(CC) $(CFLAGS) $(CDEFS) -o rasta $(OBJFILES) $(LIBS)rasta.o: rasta.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) rasta.cinit.o: init.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) init.cdebug.o: debug.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) debug.cio.o: io.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) io.canal.o: anal.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) anal.cpowspec.o: powspec.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) powspec.caudspec.o: audspec.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) audspec.cnoise_est.o: noise_est.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) noise_est.cmapping.o: mapping.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) mapping.c nl_audspec.o: nl_audspec.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) nl_audspec.crasta_filt.o: rasta_filt.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) rasta_filt.cinverse_nl.o: inverse_nl.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) inverse_nl.cpost_audspec.o: post_audspec.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) post_audspec.clpccep.o: lpccep.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) lpccep.cfft.o: fft.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) fft.cfvecsubs.o: fvecsubs.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) fvecsubs.csvecsubs.o: svecsubs.c functions.h rasta.h Makefile $(CC) -c $(CFLAGS) $(CDEFS) svecsubs.c# Finally some other targets for administrative stuffdeltrash: rm -f *~ DEADJOE t tt logclean: deltrash rm -f *.o .dependdistclean: clean rm -f *.ainstall: rasta $(INSTALL_PROG) $(INSTALL_FLAGS) rasta $(BINDIR)/$(NAME)TAGS: $(SRCFILES) $(HDRFILES) $(ETAGS) $(SRCFILES) $(HDRFILES)ifeq (.depend,$(wildcard .depend))include .dependdepend:elsedepend: $(sources) @echo Making dependencies... @$(CPP) $(includedirs) -M $(defs) $(sources) > .dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -