From: heister Date: Fri, 4 Jan 2013 21:54:31 +0000 (+0000) Subject: update Makefile for step-50 to disable compilation if Trilinos or p4est is missing X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a187a714cfdf5e0f83435f7c7b0f2e119ec78247;p=dealii-svn.git update Makefile for step-50 to disable compilation if Trilinos or p4est is missing git-svn-id: https://svn.dealii.org/trunk@27926 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-50/Makefile b/deal.II/examples/step-50/Makefile index 3af5d515e1..724ba8ac31 100644 --- a/deal.II/examples/step-50/Makefile +++ b/deal.II/examples/step-50/Makefile @@ -44,7 +44,18 @@ clean-up-files = *gmv *gnuplot *gpl *eps *pov *vtk *ucd *.d2 # settings include $D/common/Make.global_options - +ifneq ($(USE_CONTRIB_TRILINOS)$(USE_CONTRIB_P4EST),yesyes) +default run clean: + @echo + @echo "===========================================================" + @echo "= This program can only be run with the following =" + @echo "= configuration: =" + @echo "= - with Trilinos =" + @echo "= - with P4EST =" + @echo "= At least one of these conditions is not satisfied. =" + @echo "===========================================================" + @echo +else # Since the whole project consists of only one file, we need not # consider difficult dependencies. We only have to declare the # libraries which we want to link to the object file. deal.II has two @@ -141,3 +152,4 @@ Makefile.dep: $(target).cc Makefile \ include Makefile.dep +endif # USE_CONTRIB_TRILINOS