Src=GantDiagram.hs ParseTasks.hs Project.hs TaskInternal.hs AssignedTaskDB.hs WorkFlow.hs MainAlgorithm.hs GreedyAlgorithm.hs InternalProject.hs Dates.hs Project.hs CsvOutput.hs ProblemGenerator.hs Constants.hs

OptProf=-prof -auto-all -caf-all -fforce-recomp
Opt=-package parsec-2.1.0.1 

Prog = gant testParse testGant

All: $(Prog) done

gant: $(Src) gant.hs
	ghc --make $^ $(Opt)

testParse: $(Src) testParse.hs
	ghc --make $^ $(Opt)

testGant : $(Src) testGant.hs
	ghc --make $^ $(Opt)
	
clean:
	rm -f *.hi *.o
	rm -f $(Prog)

done: 
	@echo ***Done***