📄 makefile
字号:
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 + -