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