makefile

来自「This is a package to calculate Discrete 」· 代码 · 共 75 行

TXT
75
字号
NMAX_FLAGS = -DNMAX=65536 -DNMAXSQRT=256# ---- for GNU gcc ----CC = gccCFLAGS = -WallOFLAGS = -O2# ---- for SUN WS cc ----##CC = cc##CFLAGS = ##OFLAGS = -xO2all: test4g test8g testsg test4g_h test8g_h testsg_htest4g : testxg.o fft4g.o	$(CC) testxg.o fft4g.o -lm -o test4gtest8g : testxg.o fft8g.o	$(CC) testxg.o fft8g.o -lm -o test8gtestsg : testxg.o fftsg.o	$(CC) testxg.o fftsg.o -lm -o testsgtest4g_h : testxg_h.o fft4g_h.o	$(CC) testxg_h.o fft4g_h.o -lm -o test4g_htest8g_h : testxg_h.o fft8g_h.o	$(CC) testxg_h.o fft8g_h.o -lm -o test8g_htestsg_h : testxg_h.o fftsg_h.o	$(CC) testxg_h.o fftsg_h.o -lm -o testsg_htestxg.o : testxg.c	$(CC) $(CFLAGS) $(OFLAGS) $(NMAX_FLAGS) -c testxg.c -o testxg.otestxg_h.o : testxg_h.c	$(CC) $(CFLAGS) $(OFLAGS) $(NMAX_FLAGS) -c testxg_h.c -o testxg_h.offt4g.o : ../fft4g.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fft4g.c -o fft4g.offt8g.o : ../fft8g.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fft8g.c -o fft8g.offtsg.o : ../fftsg.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fftsg.c -o fftsg.offt4g_h.o : ../fft4g_h.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fft4g_h.c -o fft4g_h.offt8g_h.o : ../fft8g_h.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fft8g_h.c -o fft8g_h.offtsg_h.o : ../fftsg_h.c	$(CC) $(CFLAGS) $(OFLAGS) -c ../fftsg_h.c -o fftsg_h.oclean:	rm -f *.o

⌨️ 快捷键说明

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