TUTORIALTARGETS += build-HBerrorEstimation-tutorial
TUTORIALRUNTARGETS += run-HBerrorEstimation-tutorial
DEPENDSRC += tutorial/HB_errorEstimation/heat.cpp
CLEAN += tutorial/HB_errorEstimation/graph/* tutorial/HB_errorEstimation/heat

.PHONY: build-HBerrorEstimation-tutorial
build-HBerrorEstimation-tutorial: tutorial/HB_errorEstimation/heat

.PHONY: run-HBerrorEstimation-tutorial
run-HBerrorEstimation-tutorial: tutorial/HB_errorEstimation/heat
	mkdir -p tutorial/HB_errorEstimation/graph
	cd tutorial/HB_errorEstimation; ./heat

tutorial/HB_errorEstimation/heat: tutorial/HB_errorEstimation/heat.cpp tutorial/HB_errorEstimation/poisson.hh
	$(CXX) $(FLAGS) $(INCLUDE) $< $(KASKADE7)/libs/*.o $(KASKADELIB) \
	$(DUNELIB) \
	$(UGLIB) \
	$(BOOSTLIB) \
	$(DIRECTSOLVERLIB) \
	$(BLASLIB) $(FTNLIB) $(NUMALIB) $(LINKFLAGS) -o $@  2> gccerr.txt
