TUTORIALTARGETS += build-cdes-tutorial
TUTORIALRUNTARGETS += run-cdes-tutorial
DEPENDSRC += tutorial/convection_diffusion_equation/stationary/CDREQ.cpp
CLEAN += tutorial/convection_diffusion_equation/stationary/ansatzorder*.vtu

.PHONY: build-cdes-tutorial
build-cdes-tutorial: tutorial/convection_diffusion_equation/stationary/CDREQ

.PHONY: run-cdes-tutorial
run-cdes-tutorial: tutorial/convection_diffusion_equation/stationary/CDREQ
	cd tutorial/convection_diffusion_equation/stationary; ./CDREQ

tutorial/convection_diffusion_equation/stationary/CDREQ: tutorial/convection_diffusion_equation/stationary/CDREQ.o kasklib
	$(CXX) $(FLAGS) $< $(KASKADE7)/libs/*.o $(KASKADELIB) \
	$(DUNELIB) \
	$(UGLIB) \
	$(BOOSTLIB) \
	$(DIRECTSOLVERLIB) \
	-lstdc++fs \
	$(BLASLIB) $(FTNLIB) $(NUMALIB) $(LINKFLAGS) -lm -o $@
