CC = gcc -O2 
INC = -I /usr/local/include/gsl -I ../Base
LIB = -L/usr/local/lib -L../../Lib
ROT = ../../Bin

.c.o:
	$(CC) -c  $(INC) $<

all:  test_rotation time_rotation 

test_rotation: test_rotation.c 
	$(CC) -o test_rotation $(INC) $(LIB)  test_rotation.c -lrotation -lgsl  -lgslcblas -lm
	mv test_rotation $(ROT)

time_rotation: time_rotation.c 
	$(CC) -o time_rotation $(INC) $(LIB)  time_rotation.c -lrotation -lgsl  -lgslcblas -lm
	mv time_rotation $(ROT)

clean:
	rm -f *.o *~
