#--------------------------------------------------------------------------
# Author: Thomas Nowotny
#
# Institute: Institute for Nonlinear Dynamics
#            University of California San Diego
#            La Jolla, CA 92093-0402
#
# email to:  tnowotny@ucsd.edu
#
# initial version: 2005-08-17
#
#--------------------------------------------------------------------------

C++ = g++
C = gcc
RM= rm -f
MAKE= make
FLAGS= -Wall -g -O3 -funroll-all-loops -finline-functions -march=athlon64
HOME= /home/t/tn/tn41
INCLUDE= -I$(HOME)/include/numlib/ -I$(HOME)/include/ISAAC_C++

all: CN_rk65n.o CN_rk6n.o testCN

CN_rk65n.o: CN_rk65n.h CN_rk65n.cc
	$(C++) $(FLAGS) $(INCLUDE) -g -c CN_rk65n.cc

CN_rk6n.o: CN_rk6n.h CN_rk6n.cc
	$(C++) $(FLAGS) $(INCLUDE) -g -c CN_rk6n.cc

testCN.o: testCN.cc
	$(C++) $(FLAGS) $(INCLUDE) -g -c testCN.cc

testCN: testCN.o CN_rk65n.o
	$(C++) $(FLAGS) $(INCLUDE) -o testCN testCN.o CN_rk65n.o

clean:
	$(RM) *.o testCN