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

📄 makefile

📁 The tar file contains the following files: ptfsf.c: heart of the perfect TFSF code ptfsf.h: he
💻
字号:
all: ptfsf.o ptfsf-demo ptfsf-demo-file	ptfsf-file-maker

CC=gcc
LIBPATH=
INCPATH=
LIBS=-lfftw3_threads -lfftw3 -lm -lpthread

ptfsf.o: ptfsf.c ptfsf.h
	${CC} -Wall -O2 -c $< ${INCPATH}

ptfsf-demo: ptfsf-demo.c ptfsf.o ptfsf.h
	${CC} -Wall -O2 $< -o ptfsf-demo ptfsf.o\
	${LIBS} ${LIBPATH} ${INCPATH}

ptfsf-demo-file: ptfsf-demo-file.c ptfsf.o ptfsf.h
	${CC} -Wall -O2 $< -o ptfsf-demo-file ptfsf.o\
	${LIBS} ${LIBPATH} ${INCPATH}

ptfsf-file-maker: ptfsf-file-maker.c ptfsf.o ptfsf.h
	${CC} -Wall -O2 $< -o ptfsf-file-maker ptfsf.o\
	${LIBS} ${LIBPATH} ${INCPATH}

.SUFFIXES: .f .c

.c:
	${CC} -Wall -O2 $< -o $* ${LIBPATH} ${CLIBS} ${INCPATH}

clean:
	rm -rf *~ ptfsf.o ptfsf-file-maker ptfsf-demo ptfsf-demo-file

⌨️ 快捷键说明

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