File: Makefile.tests

package info (click to toggle)
fftw 2.1.3-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,976 kB
  • ctags: 4,800
  • sloc: ansic: 63,898; sh: 9,020; ml: 3,171; perl: 2,894; makefile: 759; fortran: 79
file content (18 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS=-DHAVE_CONFIG_H
INCLUDES=-I. -I/usr/include
OPTS=-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic -malign-double
# LIBS=-L/usr/lib
LIBS=-lfftw -lrfftw

.c.o:
	gcc $(CFLAGS) $(INCLUDES) $(OPTS) -c $<

all: fftw_test rfftw_test

fftw_test: fftw_test.o test_main.o
	gcc $(LIBS) -o fftw_test fftw_test.o test_main.o -lm
rfftw_test: rfftw_test.o test_main.o
	gcc $(LIBS) -o rfftw_test rfftw_test.o test_main.o -lm

clean:
	-rm fftw_test.o rfftw_test.o test_main.o fftw_test rfftw_test