# This makefile was generated using the build tool found at
# http://www.fluxionsdividebyzero/p1/misc/makefilebuildtool.html

CC=g++ -Wall
INC=-I../compgeomlib/ -I../mathlib/ -I../misclib/ -I../patternsearch/ -I./
OBJ=disk.o binopproperties.o mathlib.o functest.o binoppropertiestest.o pointtest.o plane.o linechoppedtest.o prob_func.o random.o powerseriestest.o fixedpointtest.o linetest.o histogramtest.o disktest.o simplexD1linkedtest.o planetest.o d2homogeneoustest.o halfspaceD3test.o halfspaceD2test.o permutationfunc.o randomtest.o bernsteintest.o main.o gausselimtest.o commandline.o bernstein.o d2homogeneous.o vectest.o mathlibtest.o
LIB=


main: $(OBJ)
       $(CC) $(INC) -o main $(OBJ) $(LIB)
disk.o: plane.o ../mathlib/point.h ../misclib/typedefs.h mathlib.o ../mathlib/zero.h ../mathlib/disk.cpp
       $(CC) $(INC) -c ../mathlib/disk.cpp
binopproperties.o: ../misclib/typedefs.h ../mathlib/binopproperties.cpp ../mathlib/binopproperties.h
       $(CC) $(INC) -c ../mathlib/binopproperties.cpp
mathlib.o: ../mathlib/point.h ../misclib/typedefs.h ../misclib/print.h ../mathlib/zero.h ../mathlib/mathlib.cpp ../mathlib/mathlib.h
       $(CC) $(INC) -c ../mathlib/mathlib.cpp
functest.o: ../mathlib/point.h ../misclib/typedefs.h ../misclib/print.h ../mathlib/func.h ../mathlib/funcstate.h prob_func.o ../mathlib/functest.cpp ../mathlib/functest.h
       $(CC) $(INC) -c ../mathlib/functest.cpp
binoppropertiestest.o: ../misclib/typedefs.h permutationfunc.o binopproperties.o ../mathlib/binoppropertiestest.cpp ../mathlib/binoppropertiestest.h
       $(CC) $(INC) -c ../mathlib/binoppropertiestest.cpp
pointtest.o: ../mathlib/point.h ../misclib/typedefs.h ../mathlib/pointtest.cpp ../mathlib/pointtest.h
       $(CC) $(INC) -c ../mathlib/pointtest.cpp
plane.o: ../misclib/print.h ../misclib/typedefs.h ../mathlib/point.h ../mathlib/zero.h mathlib.o ../mathlib/plane.cpp ../mathlib/plane.h
       $(CC) $(INC) -c ../mathlib/plane.cpp
linechoppedtest.o: ../mathlib/linechopped.h ../mathlib/line.h mathlib.o ../misclib/typedefs.h ../mathlib/zero.h ../mathlib/point.h ../misclib/print.h ../mathlib/linechoppedtest.cpp ../mathlib/linechoppedtest.h
       $(CC) $(INC) -c ../mathlib/linechoppedtest.cpp
prob_func.o: ../mathlib/funcstate.h ../misclib/typedefs.h ../patternsearch/prob_func.cpp ../patternsearch/prob_func.h
       $(CC) $(INC) -c ../patternsearch/prob_func.cpp
random.o: ../mathlib/point.h ../misclib/typedefs.h ../mathlib/random.cpp ../mathlib/random.h
       $(CC) $(INC) -c ../mathlib/random.cpp
powerseriestest.o: ../misclib/print.h ../misclib/typedefs.h ../mathlib/powerseries1D.h ../mathlib/powerseriesWD.h ../mathlib/powerseriestest.cpp ../mathlib/powerseriestest.h
       $(CC) $(INC) -c ../mathlib/powerseriestest.cpp
fixedpointtest.o: ../mathlib/fixedpoint.h ../mathlib/fixedpointtest.cpp ../mathlib/fixedpointtest.h
       $(CC) $(INC) -c ../mathlib/fixedpointtest.cpp
linetest.o: ../mathlib/line.h mathlib.o ../misclib/typedefs.h ../mathlib/zero.h ../mathlib/point.h ../misclib/print.h ../mathlib/linetest.cpp ../mathlib/linetest.h
       $(CC) $(INC) -c ../mathlib/linetest.cpp
histogramtest.o: commandline.o ../mathlib/histogram.h ../misclib/typedefs.h ../misclib/print.h random.o ../mathlib/histogramtest.cpp ../mathlib/histogramtest.h
       $(CC) $(INC) -c ../mathlib/histogramtest.cpp
disktest.o: disk.o plane.o ../misclib/print.h ../misclib/typedefs.h ../mathlib/disktest.cpp ../mathlib/disktest.h
       $(CC) $(INC) -c ../mathlib/disktest.cpp
simplexD1linkedtest.o: ../compgeomlib/simplexD1linked.h ../misclib/typedefs.h ../compgeomlib/simplexD1linkedtest.cpp ../compgeomlib/simplexD1linkedtest.h
       $(CC) $(INC) -c ../compgeomlib/simplexD1linkedtest.cpp
planetest.o: commandline.o plane.o ../mathlib/point.h ../misclib/typedefs.h ../misclib/print.h ../mathlib/planetest.cpp ../mathlib/planetest.h
       $(CC) $(INC) -c ../mathlib/planetest.cpp
d2homogeneoustest.o: ../misclib/print.h ../misclib/typedefs.h d2homogeneous.o ../mathlib/d2homogeneoustest.cpp ../mathlib/d2homogeneoustest.h
       $(CC) $(INC) -c ../mathlib/d2homogeneoustest.cpp
halfspaceD3test.o: ../misclib/aclock.h commandline.o ../mathlib/halfspaceD3.h ../misclib/typedefs.h ../mathlib/partitionspace.h mathlib.o ../mathlib/zero.h ../mathlib/halfspaceD3indexed.h ../mathlib/halfspaceD3indexedfull.h ../mathlib/point.h random.o ../mathlib/halfspaceD3test.cpp ../mathlib/halfspaceD3test.h
       $(CC) $(INC) -c ../mathlib/halfspaceD3test.cpp
halfspaceD2test.o: ../mathlib/point.h ../misclib/typedefs.h ../misclib/print.h ../mathlib/halfspaceD2.h ../mathlib/partitionspace.h mathlib.o ../mathlib/zero.h ../mathlib/halfspaceD2test.cpp ../mathlib/halfspaceD2test.h
       $(CC) $(INC) -c ../mathlib/halfspaceD2test.cpp
permutationfunc.o: ../misclib/typedefs.h ../mathlib/permutationfunc.cpp ../mathlib/permutationfunc.h
       $(CC) $(INC) -c ../mathlib/permutationfunc.cpp
randomtest.o: ../misclib/typedefs.h random.o ../mathlib/randomtest.cpp ../mathlib/randomtest.h
       $(CC) $(INC) -c ../mathlib/randomtest.cpp
bernsteintest.o: bernstein.o ../mathlib/bernsteintest.cpp ../mathlib/bernsteintest.h
       $(CC) $(INC) -c ../mathlib/bernsteintest.cpp
main.o: ../misclib/aclock.h bernsteintest.o binoppropertiestest.o commandline.o d2homogeneoustest.o disktest.o fixedpointtest.o functest.o gausselimtest.o halfspaceD2test.o halfspaceD3test.o histogramtest.o linechoppedtest.o linetest.o mathlib.o mathlibtest.o planetest.o ../mathlib/point.h ../misclib/typedefs.h pointtest.o powerseriestest.o ../misclib/print.h randomtest.o simplexD1linkedtest.o vectest.o ../mathlib/zero.h ./main.cpp
       $(CC) $(INC) -c ./main.cpp
gausselimtest.o: ../mathlib/gausselim.h ../misclib/typedefs.h ../mathlib/zero.h ../misclib/print.h ../mathlib/gausselimtest.cpp ../mathlib/gausselimtest.h
       $(CC) $(INC) -c ../mathlib/gausselimtest.cpp
commandline.o: ../misclib/typedefs.h ../misclib/commandline.cpp ../misclib/commandline.h
       $(CC) $(INC) -c ../misclib/commandline.cpp
bernstein.o: ../misclib/print.h ../misclib/typedefs.h mathlib.o ../mathlib/bernstein.cpp ../mathlib/bernstein.h
       $(CC) $(INC) -c ../mathlib/bernstein.cpp
d2homogeneous.o: ../mathlib/point.h ../misclib/typedefs.h ../misclib/print.h ../mathlib/d2homogeneous.cpp ../mathlib/d2homogeneous.h
       $(CC) $(INC) -c ../mathlib/d2homogeneous.cpp
vectest.o: ../misclib/print.h ../misclib/typedefs.h ../mathlib/vec.h ../mathlib/vectest.cpp ../mathlib/vectest.h
       $(CC) $(INC) -c ../mathlib/vectest.cpp
mathlibtest.o: ../misclib/print.h ../misclib/typedefs.h ../mathlib/point.h mathlib.o commandline.o ../mathlib/mathlibtest.cpp ../mathlib/mathlibtest.h
       $(CC) $(INC) -c ../mathlib/mathlibtest.cpp

clean:
       rm *.o *.order *.out gmon.* main


# Re-compile specific parts of the program. eg
# $ make del targ=windowscale
targ=__nopattern__
del:
       rm *${targ}*.o