ogl:	ogl.cpp
	c++ ogl.cpp -o ogl  -lglut -lGL

Newtonx:     Newtonx.o Expr.o
	c++ Newtonx.o Expr.o -o Newtonx -lpng

Newton3D:     Newton3D.o Expr.o
	c++ Newton3D.o Expr.o -o Newton3D 

Richmond:     Richmond.o Expr.o
	c++ Richmond.o Expr.o -o Richmond -lpng

ORichmond:     ORichmond.o Expr.o
	c++ ORichmond.o Expr.o -o ORichmond -lpng

Fixedx:     Fixedx.o Expr.o
	c++ Fixedx.o Expr.o -o Fixedx -lpng

Fixed3D:     Fixed3D.o Expr.o
	c++ Fixed3D.o Expr.o -o Fixed3D -lpng

ExExpr:     ExExpr.o Expr.o
	c++ ExExpr.o Expr.o -o ExExpr

clean:
	rm -f *.o Newtonx ExExpr Richmond ORichmond Newton3D

.cpp.o:
	c++ -c $< -o $@
