.SUFFIXES: .C

CPP = g++

# CPP_FLAGS = -g -Wall -pedantic
CPP_FLAGS = -g -Wno-undefined-var-template -Wno-unused-but-set-variable -Wno-unused-variable -Wno-sign-compare -Wno-undefined-var-template 
# CPP_FLAGS = -O3 -Wall -pedantic 

.C.o:	$< 
	$(CPP) $(CPP_FLAGS) -c  $< 

OBJ01 = Standard.o Array.o Moments.o CMS.o Quadrature.o EOS.o Form.o \
	Parser.o ReadInTable.o Timer.o Grid.o MatrixAlgebra.o \
	GKIntegration.o Physics.o Main.o 
cms:	$(OBJ01)
	$(CPP) $(CPP_FLAGS) $(OBJ01) -lm -o $@

clean:
	- rm -f cms
	- rm -f *.o *.a *.ti
	- rm -rf ti_files

depend :
	perl ./listdepend.scr dependencies.txt

include dependencies.txt     
