File: Makefile.threads

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 (17 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
INCL=-I. -I./../tests
OPTS=-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic -malign-double
LIBS=-lfftw_threads -lrfftw_threads -lfftw -lrfftw
CFLAGS=-DHAVE_CONFIG_H

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

all: fftw_threads_test rfftw_threads_test

fftw_threads_test: fftw_threads_test.o ../tests/test_main.o
	gcc -o fftw_threads_test $(LIBS) fftw_threads_test.o ../tests/test_main.o -lpthread -lm
rfftw_threads_test: rfftw_threads_test.o ../tests/test_main.o
	gcc -o rfftw_threads_test $(LIBS) rfftw_threads_test.o ../tests/test_main.o -lpthread -lm

clean:
	-rm fftw_threads_test.o rfftw_threads_test.o fftw_threads_test rfftw_threads_test