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

📄 makefile

📁 FFTW, a collection of fast C routines to compute the Discrete Fourier Transform in one or more dime
💻
字号:
FFTWDIR = ../fftwFFTW_INCLUDE = -I$(FFTWDIR)FFTW_CILK_OBJ = executor_cilk.o fftwnd_cilk.o LIBFFTW_CILK = libfftw_cilk.aCILK = cilkLIBS = -L../fftw/.libs -lfftw -lm# Set where you want to install the library for "make install"prefix = /usr/localLIBDIR = $(prefix)/libINCLUDEDIR = $(prefix)/include# On systems that have ranlib:RANLIB = ranlib# On systems that don't have ranlib# RANLIB = echo ranliball:	$(LIBFFTW_CILK)tests: test_cilk time_cilkRM = rmclean:		$(RM) -f *.o core a.out *~ *.s *.bak distclean: clean	$(RM) -f $(LIBFFTW_CILK) test_cilk time_cilk *.out####################### Cilk Libraries, etc. ####################HEADERS = $(FFTWDIR)/fftw.h fftw_cilk.cilkhCILKCFLAGS = $(FFTW_INCLUDE) $(CFLAGS) -O6 -DFFTW_USING_CILK###################### Building fftw_cilk #######################AR = ar%.o:	%.cilk $(HEADERS)  Makefile	$(CILK) $(CILKCFLAGS) -c $< -o $@%.s:	%.c $(HEADERS)  Makefile	$(CILK) $(CILKCFLAGS) -S $< -o $@$(LIBFFTW_CILK): $(FFTW_CILK_OBJ)	$(RM) -f $(LIBFFTW_CILK)	$(AR) rv $(LIBFFTW_CILK) $(FFTW_CILK_OBJ)	$(RANLIB) $(LIBFFTW_CILK)install: $(LIBFFTW_CILK)	$(CP) $(LIBFFTW_CILK) $(LIBDIR)	$(RANLIB) $(LIBDIR)/$(LIBFFTW_CILK)	$(CP) fftw_cilk.cilkh $(INCLUDEDIR)test_cilk: test_cilk.o $(LIBFFTW_CILK) 	$(CILK) $(LDFLAGS) test_cilk.o \              $(LIBFFTW_CILK) $(LIBS) -o test_cilktime_cilk: time_cilk.o $(LIBFFTW_CILK) 	$(CILK) $(LDFLAGS) time_cilk.o \              $(LIBFFTW_CILK) $(LIBS) -o time_cilk

⌨️ 快捷键说明

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