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

📄 makefile.x86-64

📁 各种工程计算的库函数
💻 X86-64
字号:
## Makefile for libDSP# Copyright (C) 2000-2005 Jussi Laako## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA#CC = gcc -m64 -mcmodel=mediumCXX = g++ -m64 -mcmodel=mediumCFLAGS = -mtune=opteron -mfpmath=sseCFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-gCFLAGS += -ftracerOPTCFLAGS = -mtune=opteron -mfpmath=sseOPTCFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-gOPTCFLAGS += -ftracerCXXFLAGS = $(CFLAGS)# thread safetyDEFS = -D_REENTRANT -D_THREAD_SAFE# define if your compiler/c-library is ISO C 9x standard compliantDEFS += -D_ISOC9X_SOURCE# define if you are using GNU C++-compiler and GNU C-libraryDEFS += -D_GNU_SOURCE# use memmove() for copying data instead of built-in routine, for gcc inliningDEFS += -DUSE_MEMMOVE# define for x86 platform specific optimizations#DEFS += -DDSP_X86 -DDSP_X86_64DEFS += -DDSP_X86_64INCS = -I. -I/usr/local/include#INCS += `pkg-config --cflags fftw3f fftw3`LDFLAGS = #-gPREFIX = /usr/localTGPREFIX = $(PREFIX)CSRC = cCCSRC = ccOBJ = oSRCS = DSPOp.$(CCSRC) \	FFTDecimator.$(CCSRC) \	FFTInterpolator.$(CCSRC) \	FFTMultiRate.$(CCSRC) \	Filter.$(CCSRC) \	FIRDecimator.$(CCSRC) \	FIRInterpolator.$(CCSRC) \	FIRMultiRate.$(CCSRC) \	FlipBand.$(CCSRC) \	Hankel.$(CCSRC) \	IIRCascade.$(CCSRC) \	IIRDecimator.$(CCSRC) \	IIRInterpolator.$(CCSRC) \	IIRMultiRate.$(CCSRC) \	ReBuffer.$(CCSRC) \	RecDecimator.$(CCSRC) \	RecInterpolator.$(CCSRC) \	Transform4.$(CCSRC) \	Transform8.$(CCSRC) \	TransformS.$(CCSRC) \	cdspop.$(CCSRC) \	X86.$(CSRC) \	X86-64.$(CSRC) \OBJS = DSPOp.$(OBJ) \	FFTDecimator.$(OBJ) \	FFTInterpolator.$(OBJ) \	FFTMultiRate.$(OBJ) \	Filter.$(OBJ) \	FIRDecimator.$(OBJ) \	FIRInterpolator.$(OBJ) \	FIRMultiRate.$(OBJ) \	FlipBand.$(OBJ) \	Hankel.$(OBJ) \	IIRCascade.$(OBJ) \	IIRDecimator.$(OBJ) \	IIRInterpolator.$(OBJ) \	IIRMultiRate.$(OBJ) \	ReBuffer.$(OBJ) \	RecDecimator.$(OBJ) \	RecInterpolator.$(OBJ) \	Transform4.$(OBJ) \	Transform8.$(OBJ) \	TransformS.$(OBJ) \	cdspop.$(OBJ) \	X86.$(OBJ) \	X86-64.$(OBJ)default: allall: libdsp.a.c.o: $(SRCS)	$(CC) $(CFLAGS) $(DEFS) $(INCS) -c $<.cc.o: $(SRCS)	$(CXX) $(CXXFLAGS) $(DEFS) $(INCS) -c $<X86.$(OBJ): X86.$(CSRC)	$(CC) $(OPTCFLAGS) $(DEFS) $(INCS) -c $<X86-64.$(OBJ): X86-64.$(CSRC)	$(CC) $(OPTCFLAGS) $(DEFS) $(INCS) -c $<libdsp.a: $(OBJS)	ar rc libdsp.a $(OBJS)	ranlib libdsp.ainstall: libdsp.a	install -m 755 -d $(PREFIX)/include/dsp	install -m 644 dsp/DSPConfig.hh $(PREFIX)/include/dsp	install -m 644 dsp/DSPOp.hh $(PREFIX)/include/dsp	install -m 644 dsp/DSPVector.hh $(PREFIX)/include/dsp	install -m 644 dsp/FFTDecimator.hh $(PREFIX)/include/dsp	install -m 644 dsp/FFTInterpolator.hh $(PREFIX)/include/dsp	install -m 644 dsp/FFTMultiRate.hh $(PREFIX)/include/dsp	install -m 644 dsp/Filter.hh $(PREFIX)/include/dsp	install -m 644 dsp/FIRDecimator.hh $(PREFIX)/include/dsp	install -m 644 dsp/FIRInterpolator.hh $(PREFIX)/include/dsp	install -m 644 dsp/FIRMultiRate.hh $(PREFIX)/include/dsp	install -m 644 dsp/FlipBand.hh $(PREFIX)/include/dsp	install -m 644 dsp/Hankel.hh $(PREFIX)/include/dsp	install -m 644 dsp/IIRCascade.hh $(PREFIX)/include/dsp	install -m 644 dsp/IIRDecimator.hh $(PREFIX)/include/dsp	install -m 644 dsp/IIRInterpolator.hh $(PREFIX)/include/dsp	install -m 644 dsp/IIRMultiRate.hh $(PREFIX)/include/dsp	install -m 644 dsp/ReBuffer.hh $(PREFIX)/include/dsp	install -m 644 dsp/ReBufferT.hh $(PREFIX)/include/dsp	install -m 644 dsp/RecDecimator.hh $(PREFIX)/include/dsp	install -m 644 dsp/RecInterpolator.hh $(PREFIX)/include/dsp	install -m 644 dsp/RingBuffer.hh $(PREFIX)/include/dsp	install -m 644 dsp/Transform4.hh $(PREFIX)/include/dsp	install -m 644 dsp/Transform8.hh $(PREFIX)/include/dsp	install -m 644 dsp/TransformS.hh $(PREFIX)/include/dsp	install -m 644 dsp/dsptypes.h $(PREFIX)/include/dsp	install -m 644 dsp/dspop.h $(PREFIX)/include/dsp	install -m 644 dsp/X86.h $(PREFIX)/include/dsp	install -m 644 libdsp.a $(PREFIX)/liblibdsp.dep: $(SRCS)	$(CXX) $(DEFS) $(INCS) -MM $(SRCS) >libdsp.depclean:	rm -f *.$(OBJ) *~ libdsp.a core*cleanall:	rm -rf *.$(OBJ) *~ libdsp.dep libdsp.a core*include libdsp.dep

⌨️ 快捷键说明

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