#
#
#

VERSION="0.6.4"

TARGETS=addvelocity.so angdist.so angularmomentum.so atomenergy.so atomtrail.so average.so beeman.so berendsen.so box.so buckingham.so cellscaling.so centrosymmetry.so cna.so cone.so constantforce.so cordnum.so cordnumfunc.so crystal2d.so crystal3d.so cylinder.so density.so densityprofile.so displace.so dlpoly.so element.so euler.so ewald.so external.so fastlj.so finnissinclair.so finnissinclair-ext.so gdr.so gupta.so harmonic.so index.so lammps.so lcbinary.so leapfrog.so lennardjones.so lennardjonesMod.so linkedcell.so localpressure.so lpmd.so mcy.so metropolis.so minimumimage.so mol2.so moleculecm.so monitor.so morse.so msd.so msdx.so msdy.so msdz.so nosehoover.so nullintegrator.so nullmetalpotential.so nullmixer.so nullpairpotential.so nullpotential.so osciforce.so pairdistances.so pdb.so pinatom.so propertycolor.so printatoms.so quenchedmd.so random.so rawbinary.so replicate.so rotate.so rvcorr.so searchfill.so setcolor.so settag.so setvelocity.so shear.so skewstart.so simplebond.so sitecoord.so sphere.so suttonchen.so tabulatedpair.so tag.so tagsurface.so temperature.so tempprofile.so tempscaling.so undopbc.so vacf.so varstep.so vasp.so veldist.so velocityverlet.so verlet.so verletlist.so voronoi.so xyz.so



all: $(TARGETS)

Makefile: packagesetup
	./setup --prefix=/usr/local

install: $(TARGETS)
	ginstall -v -d /usr/local/lib/lpmd

	ginstall -v -D addvelocity.so /usr/local/lib/lpmd
	ginstall -v -D angdist.so /usr/local/lib/lpmd
	ginstall -v -D angularmomentum.so /usr/local/lib/lpmd
	ginstall -v -D atomenergy.so /usr/local/lib/lpmd
	ginstall -v -D atomtrail.so /usr/local/lib/lpmd
	ginstall -v -D average.so /usr/local/lib/lpmd
	ginstall -v -D beeman.so /usr/local/lib/lpmd
	ginstall -v -D berendsen.so /usr/local/lib/lpmd
	ginstall -v -D box.so /usr/local/lib/lpmd
	ginstall -v -D buckingham.so /usr/local/lib/lpmd
	ginstall -v -D cellscaling.so /usr/local/lib/lpmd
	ginstall -v -D centrosymmetry.so /usr/local/lib/lpmd
	ginstall -v -D cna.so /usr/local/lib/lpmd
	ginstall -v -D cone.so /usr/local/lib/lpmd
	ginstall -v -D constantforce.so /usr/local/lib/lpmd
	ginstall -v -D cordnum.so /usr/local/lib/lpmd
	ginstall -v -D cordnumfunc.so /usr/local/lib/lpmd
	ginstall -v -D crystal2d.so /usr/local/lib/lpmd
	ginstall -v -D crystal3d.so /usr/local/lib/lpmd
	ginstall -v -D cylinder.so /usr/local/lib/lpmd
	ginstall -v -D density.so /usr/local/lib/lpmd
	ginstall -v -D densityprofile.so /usr/local/lib/lpmd
	ginstall -v -D displace.so /usr/local/lib/lpmd
	ginstall -v -D dlpoly.so /usr/local/lib/lpmd
	ginstall -v -D element.so /usr/local/lib/lpmd
	ginstall -v -D euler.so /usr/local/lib/lpmd
	ginstall -v -D ewald.so /usr/local/lib/lpmd
	ginstall -v -D external.so /usr/local/lib/lpmd
	ginstall -v -D fastlj.so /usr/local/lib/lpmd
	ginstall -v -D finnissinclair.so /usr/local/lib/lpmd
	ginstall -v -D finnissinclair-ext.so /usr/local/lib/lpmd
	ginstall -v -D gdr.so /usr/local/lib/lpmd
	ginstall -v -D gupta.so /usr/local/lib/lpmd
	ginstall -v -D harmonic.so /usr/local/lib/lpmd
	ginstall -v -D index.so /usr/local/lib/lpmd
	ginstall -v -D lammps.so /usr/local/lib/lpmd
	ginstall -v -D lcbinary.so /usr/local/lib/lpmd
	ginstall -v -D leapfrog.so /usr/local/lib/lpmd
	ginstall -v -D lennardjones.so /usr/local/lib/lpmd
	ginstall -v -D lennardjonesMod.so /usr/local/lib/lpmd
	ginstall -v -D linkedcell.so /usr/local/lib/lpmd
	ginstall -v -D localpressure.so /usr/local/lib/lpmd
	ginstall -v -D lpmd.so /usr/local/lib/lpmd
	ginstall -v -D mcy.so /usr/local/lib/lpmd
	ginstall -v -D metropolis.so /usr/local/lib/lpmd
	ginstall -v -D minimumimage.so /usr/local/lib/lpmd
	ginstall -v -D mol2.so /usr/local/lib/lpmd
	ginstall -v -D moleculecm.so /usr/local/lib/lpmd
	ginstall -v -D monitor.so /usr/local/lib/lpmd
	ginstall -v -D morse.so /usr/local/lib/lpmd
	ginstall -v -D msd.so /usr/local/lib/lpmd
	ginstall -v -D msdx.so /usr/local/lib/lpmd
	ginstall -v -D msdy.so /usr/local/lib/lpmd
	ginstall -v -D msdz.so /usr/local/lib/lpmd
	ginstall -v -D nosehoover.so /usr/local/lib/lpmd
	ginstall -v -D nullintegrator.so /usr/local/lib/lpmd
	ginstall -v -D nullmetalpotential.so /usr/local/lib/lpmd
	ginstall -v -D nullmixer.so /usr/local/lib/lpmd
	ginstall -v -D nullpairpotential.so /usr/local/lib/lpmd
	ginstall -v -D nullpotential.so /usr/local/lib/lpmd
	ginstall -v -D osciforce.so /usr/local/lib/lpmd
	ginstall -v -D pairdistances.so /usr/local/lib/lpmd
	ginstall -v -D pdb.so /usr/local/lib/lpmd
	ginstall -v -D pinatom.so /usr/local/lib/lpmd
	ginstall -v -D propertycolor.so /usr/local/lib/lpmd
	ginstall -v -D printatoms.so /usr/local/lib/lpmd
	ginstall -v -D quenchedmd.so /usr/local/lib/lpmd
	ginstall -v -D random.so /usr/local/lib/lpmd
	ginstall -v -D rawbinary.so /usr/local/lib/lpmd
	ginstall -v -D replicate.so /usr/local/lib/lpmd
	ginstall -v -D rotate.so /usr/local/lib/lpmd
	ginstall -v -D rvcorr.so /usr/local/lib/lpmd
	ginstall -v -D searchfill.so /usr/local/lib/lpmd
	ginstall -v -D setcolor.so /usr/local/lib/lpmd
	ginstall -v -D settag.so /usr/local/lib/lpmd
	ginstall -v -D setvelocity.so /usr/local/lib/lpmd
	ginstall -v -D shear.so /usr/local/lib/lpmd
	ginstall -v -D skewstart.so /usr/local/lib/lpmd
	ginstall -v -D simplebond.so /usr/local/lib/lpmd
	ginstall -v -D sitecoord.so /usr/local/lib/lpmd
	ginstall -v -D sphere.so /usr/local/lib/lpmd
	ginstall -v -D suttonchen.so /usr/local/lib/lpmd
	ginstall -v -D tabulatedpair.so /usr/local/lib/lpmd
	ginstall -v -D tag.so /usr/local/lib/lpmd
	ginstall -v -D tagsurface.so /usr/local/lib/lpmd
	ginstall -v -D temperature.so /usr/local/lib/lpmd
	ginstall -v -D tempprofile.so /usr/local/lib/lpmd
	ginstall -v -D tempscaling.so /usr/local/lib/lpmd
	ginstall -v -D undopbc.so /usr/local/lib/lpmd
	ginstall -v -D vacf.so /usr/local/lib/lpmd
	ginstall -v -D varstep.so /usr/local/lib/lpmd
	ginstall -v -D vasp.so /usr/local/lib/lpmd
	ginstall -v -D veldist.so /usr/local/lib/lpmd
	ginstall -v -D velocityverlet.so /usr/local/lib/lpmd
	ginstall -v -D verlet.so /usr/local/lib/lpmd
	ginstall -v -D verletlist.so /usr/local/lib/lpmd
	ginstall -v -D voronoi.so /usr/local/lib/lpmd
	ginstall -v -D xyz.so /usr/local/lib/lpmd


uninstall:
	rm -vf /usr/local/lib/lpmd/addvelocity.so
	rm -vf /usr/local/lib/lpmd/angdist.so
	rm -vf /usr/local/lib/lpmd/angularmomentum.so
	rm -vf /usr/local/lib/lpmd/atomenergy.so
	rm -vf /usr/local/lib/lpmd/atomtrail.so
	rm -vf /usr/local/lib/lpmd/average.so
	rm -vf /usr/local/lib/lpmd/beeman.so
	rm -vf /usr/local/lib/lpmd/berendsen.so
	rm -vf /usr/local/lib/lpmd/box.so
	rm -vf /usr/local/lib/lpmd/buckingham.so
	rm -vf /usr/local/lib/lpmd/cellscaling.so
	rm -vf /usr/local/lib/lpmd/centrosymmetry.so
	rm -vf /usr/local/lib/lpmd/cna.so
	rm -vf /usr/local/lib/lpmd/cone.so
	rm -vf /usr/local/lib/lpmd/constantforce.so
	rm -vf /usr/local/lib/lpmd/cordnum.so
	rm -vf /usr/local/lib/lpmd/cordnumfunc.so
	rm -vf /usr/local/lib/lpmd/crystal2d.so
	rm -vf /usr/local/lib/lpmd/crystal3d.so
	rm -vf /usr/local/lib/lpmd/cylinder.so
	rm -vf /usr/local/lib/lpmd/density.so
	rm -vf /usr/local/lib/lpmd/densityprofile.so
	rm -vf /usr/local/lib/lpmd/displace.so
	rm -vf /usr/local/lib/lpmd/dlpoly.so
	rm -vf /usr/local/lib/lpmd/element.so
	rm -vf /usr/local/lib/lpmd/euler.so
	rm -vf /usr/local/lib/lpmd/ewald.so
	rm -vf /usr/local/lib/lpmd/external.so
	rm -vf /usr/local/lib/lpmd/fastlj.so
	rm -vf /usr/local/lib/lpmd/finnissinclair.so
	rm -vf /usr/local/lib/lpmd/finnissinclair-ext.so
	rm -vf /usr/local/lib/lpmd/gdr.so
	rm -vf /usr/local/lib/lpmd/gupta.so
	rm -vf /usr/local/lib/lpmd/harmonic.so
	rm -vf /usr/local/lib/lpmd/index.so
	rm -vf /usr/local/lib/lpmd/lammps.so
	rm -vf /usr/local/lib/lpmd/lcbinary.so
	rm -vf /usr/local/lib/lpmd/leapfrog.so
	rm -vf /usr/local/lib/lpmd/lennardjones.so
	rm -vf /usr/local/lib/lpmd/lennardjonesMod.so
	rm -vf /usr/local/lib/lpmd/linkedcell.so
	rm -vf /usr/local/lib/lpmd/localpressure.so
	rm -vf /usr/local/lib/lpmd/lpmd.so
	rm -vf /usr/local/lib/lpmd/mcy.so
	rm -vf /usr/local/lib/lpmd/metropolis.so
	rm -vf /usr/local/lib/lpmd/minimumimage.so
	rm -vf /usr/local/lib/lpmd/mol2.so
	rm -vf /usr/local/lib/lpmd/moleculecm.so
	rm -vf /usr/local/lib/lpmd/monitor.so
	rm -vf /usr/local/lib/lpmd/morse.so
	rm -vf /usr/local/lib/lpmd/msd.so
	rm -vf /usr/local/lib/lpmd/msdx.so
	rm -vf /usr/local/lib/lpmd/msdy.so
	rm -vf /usr/local/lib/lpmd/msdz.so
	rm -vf /usr/local/lib/lpmd/nosehoover.so
	rm -vf /usr/local/lib/lpmd/nullintegrator.so
	rm -vf /usr/local/lib/lpmd/nullmetalpotential.so
	rm -vf /usr/local/lib/lpmd/nullmixer.so
	rm -vf /usr/local/lib/lpmd/nullpairpotential.so
	rm -vf /usr/local/lib/lpmd/nullpotential.so
	rm -vf /usr/local/lib/lpmd/osciforce.so
	rm -vf /usr/local/lib/lpmd/pairdistances.so
	rm -vf /usr/local/lib/lpmd/pdb.so
	rm -vf /usr/local/lib/lpmd/pinatom.so
	rm -vf /usr/local/lib/lpmd/propertycolor.so
	rm -vf /usr/local/lib/lpmd/printatoms.so
	rm -vf /usr/local/lib/lpmd/quenchedmd.so
	rm -vf /usr/local/lib/lpmd/random.so
	rm -vf /usr/local/lib/lpmd/rawbinary.so
	rm -vf /usr/local/lib/lpmd/replicate.so
	rm -vf /usr/local/lib/lpmd/rotate.so
	rm -vf /usr/local/lib/lpmd/rvcorr.so
	rm -vf /usr/local/lib/lpmd/searchfill.so
	rm -vf /usr/local/lib/lpmd/setcolor.so
	rm -vf /usr/local/lib/lpmd/settag.so
	rm -vf /usr/local/lib/lpmd/setvelocity.so
	rm -vf /usr/local/lib/lpmd/shear.so
	rm -vf /usr/local/lib/lpmd/skewstart.so
	rm -vf /usr/local/lib/lpmd/simplebond.so
	rm -vf /usr/local/lib/lpmd/sitecoord.so
	rm -vf /usr/local/lib/lpmd/sphere.so
	rm -vf /usr/local/lib/lpmd/suttonchen.so
	rm -vf /usr/local/lib/lpmd/tabulatedpair.so
	rm -vf /usr/local/lib/lpmd/tag.so
	rm -vf /usr/local/lib/lpmd/tagsurface.so
	rm -vf /usr/local/lib/lpmd/temperature.so
	rm -vf /usr/local/lib/lpmd/tempprofile.so
	rm -vf /usr/local/lib/lpmd/tempscaling.so
	rm -vf /usr/local/lib/lpmd/undopbc.so
	rm -vf /usr/local/lib/lpmd/vacf.so
	rm -vf /usr/local/lib/lpmd/varstep.so
	rm -vf /usr/local/lib/lpmd/vasp.so
	rm -vf /usr/local/lib/lpmd/veldist.so
	rm -vf /usr/local/lib/lpmd/velocityverlet.so
	rm -vf /usr/local/lib/lpmd/verlet.so
	rm -vf /usr/local/lib/lpmd/verletlist.so
	rm -vf /usr/local/lib/lpmd/voronoi.so
	rm -vf /usr/local/lib/lpmd/xyz.so
	(rmdir /usr/local/lib/lpmd || true) 2>/dev/null

addvelocity.o: addvelocity.cc addvelocity.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c addvelocity.cc -o addvelocity.o

addvelocity.so: addvelocity.o
	g++ -o addvelocity.so addvelocity.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

angdist.o: angdist.cc angdist.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c angdist.cc -o angdist.o

angdist.so: angdist.o
	g++ -o angdist.so angdist.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

angularmomentum.o: angularmomentum.cc angularmomentum.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/session.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c angularmomentum.cc -o angularmomentum.o

angularmomentum.so: angularmomentum.o
	g++ -o angularmomentum.so angularmomentum.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

atomenergy.o: atomenergy.cc atomenergy.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h /usr/local/include/lpmd/pairpotential.h /usr/local/include/lpmd/combinedpotential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c atomenergy.cc -o atomenergy.o

atomenergy.so: atomenergy.o
	g++ -o atomenergy.so atomenergy.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

atomtrail.o: atomtrail.cc atomtrail.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c atomtrail.cc -o atomtrail.o

atomtrail.so: atomtrail.o
	g++ -o atomtrail.so atomtrail.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

average.o: average.cc average.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c average.cc -o average.o

average.so: average.o
	g++ -o average.so average.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

beeman.o: beeman.cc beeman.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/potential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c beeman.cc -o beeman.o

beeman.so: beeman.o
	g++ -o beeman.so beeman.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

berendsen.o: berendsen.cc berendsen.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/integrator.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c berendsen.cc -o berendsen.o

berendsen.so: berendsen.o
	g++ -o berendsen.so berendsen.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

box.o: box.cc box.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c box.cc -o box.o

box.so: box.o
	g++ -o box.so box.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

buckingham.o: buckingham.cc buckingham.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c buckingham.cc -o buckingham.o

buckingham.so: buckingham.o
	g++ -o buckingham.so buckingham.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cellscaling.o: cellscaling.cc cellscaling.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cellscaling.cc -o cellscaling.o

cellscaling.so: cellscaling.o
	g++ -o cellscaling.so cellscaling.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

centrosymmetry.o: centrosymmetry.cc centrosymmetry.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c centrosymmetry.cc -o centrosymmetry.o

centrosymmetry.so: centrosymmetry.o
	g++ -o centrosymmetry.so centrosymmetry.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cna.o: cna.cc cna.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cna.cc -o cna.o

cna.so: cna.o
	g++ -o cna.so cna.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cone.o: cone.cc cone.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cone.cc -o cone.o

cone.so: cone.o
	g++ -o cone.so cone.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

constantforce.o: constantforce.cc constantforce.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c constantforce.cc -o constantforce.o

constantforce.so: constantforce.o
	g++ -o constantforce.so constantforce.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cordnum.o: cordnum.cc cordnum.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cordnum.cc -o cordnum.o

cordnum.so: cordnum.o
	g++ -o cordnum.so cordnum.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cordnumfunc.o: cordnumfunc.cc cordnumfunc.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cordnumfunc.cc -o cordnumfunc.o

cordnumfunc.so: cordnumfunc.o
	g++ -o cordnumfunc.so cordnumfunc.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

crystal2d.o: crystal2d.cc crystal2d.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c crystal2d.cc -o crystal2d.o

crystal2d.so: crystal2d.o
	g++ -o crystal2d.so crystal2d.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

crystal3d.o: crystal3d.cc crystal3d.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c crystal3d.cc -o crystal3d.o

crystal3d.so: crystal3d.o
	g++ -o crystal3d.so crystal3d.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

cylinder.o: cylinder.cc cylinder.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c cylinder.cc -o cylinder.o

cylinder.so: cylinder.o
	g++ -o cylinder.so cylinder.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

density.o: density.cc density.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c density.cc -o density.o

density.so: density.o
	g++ -o density.so density.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

densityprofile.o: densityprofile.cc densityprofile.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/plugin.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c densityprofile.cc -o densityprofile.o

densityprofile.so: densityprofile.o
	g++ -o densityprofile.so densityprofile.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

displace.o: displace.cc displace.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c displace.cc -o displace.o

displace.so: displace.o
	g++ -o displace.so displace.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

dlpoly.o: dlpoly.cc dlpoly.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/simulationhistory.h /usr/local/include/lpmd/particleset.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c dlpoly.cc -o dlpoly.o

dlpoly.so: dlpoly.o
	g++ -o dlpoly.so dlpoly.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

element.o: element.cc element.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c element.cc -o element.o

element.so: element.o
	g++ -o element.so element.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

euler.o: euler.cc euler.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/atom.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c euler.cc -o euler.o

euler.so: euler.o
	g++ -o euler.so euler.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

ewald.o: ewald.cc ewald.h /usr/local/include/lpmd/session.h /usr/local/include/lpmd/configuration.h /usr/local/include/lpmd/timer.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c ewald.cc -o ewald.o

ewald.so: ewald.o
	g++ -o ewald.so ewald.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

external.o: external.cc external.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c external.cc -o external.o

external.so: external.o
	g++ -o external.so external.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

fastlj.o: fastlj.cc fastlj.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c fastlj.cc -o fastlj.o

fastlj.so: fastlj.o
	g++ -o fastlj.so fastlj.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

finnissinclair.o: finnissinclair.cc finnissinclair.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c finnissinclair.cc -o finnissinclair.o

finnissinclair.so: finnissinclair.o
	g++ -o finnissinclair.so finnissinclair.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

finnissinclair-ext.o: finnissinclair-ext.cc finnissinclair-ext.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c finnissinclair-ext.cc -o finnissinclair-ext.o

finnissinclair-ext.so: finnissinclair-ext.o
	g++ -o finnissinclair-ext.so finnissinclair-ext.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

gdr.o: gdr.cc gdr.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c gdr.cc -o gdr.o

gdr.so: gdr.o
	g++ -o gdr.so gdr.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

gupta.o: gupta.cc gupta.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c gupta.cc -o gupta.o

gupta.so: gupta.o
	g++ -o gupta.so gupta.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

harmonic.o: harmonic.cc harmonic.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c harmonic.cc -o harmonic.o

harmonic.so: harmonic.o
	g++ -o harmonic.so harmonic.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

index.o: index.cc index.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c index.cc -o index.o

index.so: index.o
	g++ -o index.so index.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

lammps.o: lammps.cc lammps.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/colorhandler.h /usr/local/include/lpmd/elements.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c lammps.cc -o lammps.o

lammps.so: lammps.o
	g++ -o lammps.so lammps.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -lz -L/usr/local/lib -llpmd -ldl -lm

lcbinary.o: lcbinary.cc lcbinary.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c lcbinary.cc -o lcbinary.o

lcbinary.so: lcbinary.o
	g++ -o lcbinary.so lcbinary.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

leapfrog.o: leapfrog.cc leapfrog.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/potential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c leapfrog.cc -o leapfrog.o

leapfrog.so: leapfrog.o
	g++ -o leapfrog.so leapfrog.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

lennardjones.o: lennardjones.cc lennardjones.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c lennardjones.cc -o lennardjones.o

lennardjones.so: lennardjones.o
	g++ -o lennardjones.so lennardjones.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

lennardjonesMod.o: lennardjonesMod.cc lennardjonesMod.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c lennardjonesMod.cc -o lennardjonesMod.o

lennardjonesMod.so: lennardjonesMod.o
	g++ -o lennardjonesMod.so lennardjonesMod.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

linkedcell.o: linkedcell.cc linkedcell.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c linkedcell.cc -o linkedcell.o

linkedcell.so: linkedcell.o
	g++ -o linkedcell.so linkedcell.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

localpressure.o: localpressure.cc localpressure.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/pairpotential.h /usr/local/include/lpmd/session.h /usr/local/include/lpmd/basiccell.h /usr/local/include/lpmd/combinedpotential.h /usr/local/include/lpmd/error.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c localpressure.cc -o localpressure.o

localpressure.so: localpressure.o
	g++ -o localpressure.so localpressure.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

lpmd.o: lpmd.cc lpmd.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/colorhandler.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c lpmd.cc -o lpmd.o

lpmd.so: lpmd.o
	g++ -o lpmd.so lpmd.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -lz -L/usr/local/lib -llpmd -ldl -lm

mcy.o: mcy.cc mcy.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c mcy.cc -o mcy.o

mcy.so: mcy.o
	g++ -o mcy.so mcy.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

metropolis.o: metropolis.cc metropolis.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/properties.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c metropolis.cc -o metropolis.o

metropolis.so: metropolis.o
	g++ -o metropolis.so metropolis.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

minimumimage.o: minimumimage.cc minimumimage.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c minimumimage.cc -o minimumimage.o

minimumimage.so: minimumimage.o
	g++ -o minimumimage.so minimumimage.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

mol2.o: mol2.cc mol2.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c mol2.cc -o mol2.o

mol2.so: mol2.o
	g++ -o mol2.so mol2.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

moleculecm.o: moleculecm.cc moleculecm.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c moleculecm.cc -o moleculecm.o

moleculecm.so: moleculecm.o
	g++ -o moleculecm.so moleculecm.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

monitor.o: monitor.cc monitor.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c monitor.cc -o monitor.o

monitor.so: monitor.o
	g++ -o monitor.so monitor.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

morse.o: morse.cc morse.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c morse.cc -o morse.o

morse.so: morse.o
	g++ -o morse.so morse.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

msd.o: msd.cc msd.h /usr/local/include/lpmd/simulationhistory.h /usr/local/include/lpmd/storedconfiguration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c msd.cc -o msd.o

msd.so: msd.o
	g++ -o msd.so msd.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

msdx.o: msdx.cc msd.h /usr/local/include/lpmd/simulationhistory.h /usr/local/include/lpmd/storedconfiguration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c msdx.cc -o msdx.o

msdx.so: msdx.o
	g++ -o msdx.so msdx.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

msdy.o: msdy.cc msd.h /usr/local/include/lpmd/simulationhistory.h /usr/local/include/lpmd/storedconfiguration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c msdy.cc -o msdy.o

msdy.so: msdy.o
	g++ -o msdy.so msdy.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

msdz.o: msdz.cc msd.h /usr/local/include/lpmd/simulationhistory.h /usr/local/include/lpmd/storedconfiguration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c msdz.cc -o msdz.o

msdz.so: msdz.o
	g++ -o msdz.so msdz.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nosehoover.o: nosehoover.cc nosehoover.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/potential.h /usr/local/include/lpmd/session.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nosehoover.cc -o nosehoover.o

nosehoover.so: nosehoover.o
	g++ -o nosehoover.so nosehoover.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nullintegrator.o: nullintegrator.cc nullintegrator.h /usr/local/include/lpmd/potential.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nullintegrator.cc -o nullintegrator.o

nullintegrator.so: nullintegrator.o
	g++ -o nullintegrator.so nullintegrator.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nullmetalpotential.o: nullmetalpotential.cc nullmetalpotential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nullmetalpotential.cc -o nullmetalpotential.o

nullmetalpotential.so: nullmetalpotential.o
	g++ -o nullmetalpotential.so nullmetalpotential.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nullmixer.o: nullmixer.cc nullmixer.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nullmixer.cc -o nullmixer.o

nullmixer.so: nullmixer.o
	g++ -o nullmixer.so nullmixer.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nullpairpotential.o: nullpairpotential.cc nullpairpotential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nullpairpotential.cc -o nullpairpotential.o

nullpairpotential.so: nullpairpotential.o
	g++ -o nullpairpotential.so nullpairpotential.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

nullpotential.o: nullpotential.cc nullpotential.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c nullpotential.cc -o nullpotential.o

nullpotential.so: nullpotential.o
	g++ -o nullpotential.so nullpotential.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

osciforce.o: osciforce.cc osciforce.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c osciforce.cc -o osciforce.o

osciforce.so: osciforce.o
	g++ -o osciforce.so osciforce.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

pairdistances.o: pairdistances.cc pairdistances.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c pairdistances.cc -o pairdistances.o

pairdistances.so: pairdistances.o
	g++ -o pairdistances.so pairdistances.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

pdb.o: pdb.cc pdb.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c pdb.cc -o pdb.o

pdb.so: pdb.o
	g++ -o pdb.so pdb.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

pinatom.o: pinatom.cc pinatom.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c pinatom.cc -o pinatom.o

pinatom.so: pinatom.o
	g++ -o pinatom.so pinatom.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

propertycolor.o: propertycolor.cc propertycolor.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/error.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c propertycolor.cc -o propertycolor.o

propertycolor.so: propertycolor.o
	g++ -o propertycolor.so propertycolor.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

printatoms.o: printatoms.cc printatoms.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/colorhandler.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c printatoms.cc -o printatoms.o

printatoms.so: printatoms.o
	g++ -o printatoms.so printatoms.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

quenchedmd.o: quenchedmd.cc quenchedmd.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c quenchedmd.cc -o quenchedmd.o

quenchedmd.so: quenchedmd.o
	g++ -o quenchedmd.so quenchedmd.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

random.o: random.cc random.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c random.cc -o random.o

random.so: random.o
	g++ -o random.so random.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

rawbinary.o: rawbinary.cc rawbinary.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/atom.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c rawbinary.cc -o rawbinary.o

rawbinary.so: rawbinary.o
	g++ -o rawbinary.so rawbinary.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

replicate.o: replicate.cc replicate.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c replicate.cc -o replicate.o

replicate.so: replicate.o
	g++ -o replicate.so replicate.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

rotate.o: rotate.cc rotate.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c rotate.cc -o rotate.o

rotate.so: rotate.o
	g++ -o rotate.so rotate.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

rvcorr.o: rvcorr.cc rvcorr.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c rvcorr.cc -o rvcorr.o

rvcorr.so: rvcorr.o
	g++ -o rvcorr.so rvcorr.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

searchfill.o: searchfill.cc searchfill.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/atompair.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c searchfill.cc -o searchfill.o

searchfill.so: searchfill.o
	g++ -o searchfill.so searchfill.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

setcolor.o: setcolor.cc setcolor.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c setcolor.cc -o setcolor.o

setcolor.so: setcolor.o
	g++ -o setcolor.so setcolor.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

settag.o: settag.cc settag.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c settag.cc -o settag.o

settag.so: settag.o
	g++ -o settag.so settag.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

setvelocity.o: setvelocity.cc setvelocity.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c setvelocity.cc -o setvelocity.o

setvelocity.so: setvelocity.o
	g++ -o setvelocity.so setvelocity.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

shear.o: shear.cc shear.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/plugin.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c shear.cc -o shear.o

shear.so: shear.o
	g++ -o shear.so shear.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

skewstart.o: skewstart.cc skewstart.h /usr/local/include/lpmd/atom.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c skewstart.cc -o skewstart.o

skewstart.so: skewstart.o
	g++ -o skewstart.so skewstart.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

simplebond.o: simplebond.cc simplebond.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c simplebond.cc -o simplebond.o

simplebond.so: simplebond.o
	g++ -o simplebond.so simplebond.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

sitecoord.o: sitecoord.cc sitecoord.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c sitecoord.cc -o sitecoord.o

sitecoord.so: sitecoord.o
	g++ -o sitecoord.so sitecoord.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

sphere.o: sphere.cc sphere.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c sphere.cc -o sphere.o

sphere.so: sphere.o
	g++ -o sphere.so sphere.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

suttonchen.o: suttonchen.cc suttonchen.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c suttonchen.cc -o suttonchen.o

suttonchen.so: suttonchen.o
	g++ -o suttonchen.so suttonchen.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

tabulatedpair.o: tabulatedpair.cc tabulatedpair.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c tabulatedpair.cc -o tabulatedpair.o

tabulatedpair.so: tabulatedpair.o
	g++ -o tabulatedpair.so tabulatedpair.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

tag.o: tag.cc tag.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/refparticleset.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c tag.cc -o tag.o

tag.so: tag.o
	g++ -o tag.so tag.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

tagsurface.o: tagsurface.cc tagsurface.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/particleset.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c tagsurface.cc -o tagsurface.o

tagsurface.so: tagsurface.o
	g++ -o tagsurface.so tagsurface.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

temperature.o: temperature.cc temperature.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c temperature.cc -o temperature.o

temperature.so: temperature.o
	g++ -o temperature.so temperature.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

tempprofile.o: tempprofile.cc tempprofile.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/plugin.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c tempprofile.cc -o tempprofile.o

tempprofile.so: tempprofile.o
	g++ -o tempprofile.so tempprofile.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

tempscaling.o: tempscaling.cc tempscaling.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/util.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c tempscaling.cc -o tempscaling.o

tempscaling.so: tempscaling.o
	g++ -o tempscaling.so tempscaling.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

undopbc.o: undopbc.cc undopbc.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c undopbc.cc -o undopbc.o

undopbc.so: undopbc.o
	g++ -o undopbc.so undopbc.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

vacf.o: vacf.cc vacf.h /usr/local/include/lpmd/properties.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c vacf.cc -o vacf.o

vacf.so: vacf.o
	g++ -o vacf.so vacf.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

varstep.o: varstep.cc varstep.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/session.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c varstep.cc -o varstep.o

varstep.so: varstep.o
	g++ -o varstep.so varstep.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

vasp.o: vasp.cc vasp.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c vasp.cc -o vasp.o

vasp.so: vasp.o
	g++ -o vasp.so vasp.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

veldist.o: veldist.cc veldist.h /usr/local/include/lpmd/matrix.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c veldist.cc -o veldist.o

veldist.so: veldist.o
	g++ -o veldist.so veldist.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

velocityverlet.o: velocityverlet.cc velocityverlet.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c velocityverlet.cc -o velocityverlet.o

velocityverlet.so: velocityverlet.o
	g++ -o velocityverlet.so velocityverlet.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

verlet.o: verlet.cc verlet.h /usr/local/include/lpmd/simulation.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c verlet.cc -o verlet.o

verlet.so: verlet.o
	g++ -o verlet.so verlet.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

verletlist.o: verletlist.cc verletlist.h /usr/local/include/lpmd/configuration.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c verletlist.cc -o verletlist.o

verletlist.so: verletlist.o
	g++ -o verletlist.so verletlist.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

voronoi.o: voronoi.cc voronoi.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c voronoi.cc -o voronoi.o

voronoi.so: voronoi.o
	g++ -o voronoi.so voronoi.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm

xyz.o: xyz.cc xyz.h /usr/local/include/lpmd/util.h /usr/local/include/lpmd/simulation.h /usr/local/include/lpmd/manipulations.h
	g++ -Wall -O3 -ffast-math -funroll-all-loops -finline-functions -std=gnu++98 -fno-common -bundle  -I/usr/local/include -c xyz.cc -o xyz.o

xyz.so: xyz.o
	g++ -o xyz.so xyz.o -fno-common -Wl,-undefined -Wl,dynamic_lookup -bundle  -L/usr/local/lib -llpmd -ldl -lm


.PHONY: check clean

check: 


clean: 
	rm -f $(TARGETS) addvelocity.o angdist.o angularmomentum.o atomenergy.o atomtrail.o average.o beeman.o berendsen.o box.o buckingham.o cellscaling.o centrosymmetry.o cna.o cone.o constantforce.o cordnum.o cordnumfunc.o crystal2d.o crystal3d.o cylinder.o density.o densityprofile.o displace.o dlpoly.o element.o euler.o ewald.o external.o fastlj.o finnissinclair.o finnissinclair-ext.o gdr.o gupta.o harmonic.o index.o lammps.o lcbinary.o leapfrog.o lennardjones.o lennardjonesMod.o linkedcell.o localpressure.o lpmd.o mcy.o metropolis.o minimumimage.o mol2.o moleculecm.o monitor.o morse.o msd.o msdx.o msdy.o msdz.o nosehoover.o nullintegrator.o nullmetalpotential.o nullmixer.o nullpairpotential.o nullpotential.o osciforce.o pairdistances.o pdb.o pinatom.o propertycolor.o printatoms.o quenchedmd.o random.o rawbinary.o replicate.o rotate.o rvcorr.o searchfill.o setcolor.o settag.o setvelocity.o shear.o skewstart.o simplebond.o sitecoord.o sphere.o suttonchen.o tabulatedpair.o tag.o tagsurface.o temperature.o tempprofile.o tempscaling.o undopbc.o vacf.o varstep.o vasp.o veldist.o velocityverlet.o verlet.o verletlist.o voronoi.o xyz.o

