File: Makefile.threads

package info (click to toggle)
p4fftwgel 1.2-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,668 kB
  • ctags: 8,082
  • sloc: asm: 56,515; ansic: 15,040; ml: 8,501; sh: 7,562; perl: 2,894; makefile: 598; 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