# Time-stamp: </wrf/c/2007/union-sphere/Makefile, Tue,  1 May 2007, 19:17:05 EDT, http://wrfranklin.org/>

CXXFLAGS= -O3 -finline-limit=100000 --coverage
CXXFLAGS= -O3 -finline-limit=100000 -funsafe-loop-optimizations -fivopts -fwhole-program -fweb
CXXFLAGS= -O2 -g -pg
CXXFLAGS= -O3


LDLIBS= -lgsl -lgslcblas -lm 

H=300
W=400
H=600
W=800

D= +H$H +W$W +Q3 +A
D= +H$H +W$W +A

# Make and display a sample image of overlapping spheres
%.png : %.pov Makefile
	povray $D +O$@ $<
	xv $@


# Sychronize local files over to the webserver.
sync:	w/circlexsect.png w/Makefile w/us.cc
	(cd ~/web; make rsync)

w/circlexsect.png: circlexsect.png
	cp $< $@

w/Makefile: Makefile
	cp $< $@

w/us.cc:  us.cc
	cp $< $@


bigtest:
	barb/mol2dat < barb/2SNI/offset_docked.mol | us



