CC = gcc
CFLAGS=-O3 -Wall -std=c99 -I../src -L../lib
LIBS= -lltfat -lfftw3 -lm

include filedefs.mk

all: 	$(timers)

time_%:	time_%.o ltfat_time.o
	$(CC) $(CFLAGS) $< ltfat_time.o $(LIBS) -o $@

%.o: %.c Makefile config.h
	$(CC) $(CFLAGS) -I../src/thirdparty -c $<

clean:
	rm *.o $(timers)
