From: maier Date: Tue, 26 Feb 2013 16:21:01 +0000 (+0000) Subject: A GNUmakefile for the examples X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e470c3af98b2fbdfe0f323821763cbf48b8984f4;p=dealii-svn.git A GNUmakefile for the examples git-svn-id: https://svn.dealii.org/branches/branch_cmake@28580 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/GNUmakefile b/deal.II/examples/GNUmakefile new file mode 100644 index 0000000000..8cd36aad05 --- /dev/null +++ b/deal.II/examples/GNUmakefile @@ -0,0 +1,23 @@ +# +# GNUmakefile has priority over Makefile for GNU Make. +# So if a Makefile was generated by CMake due to an in-source configure +# chain-load it: +# +ifneq ($(wildcard Makefile),) + include Makefile +else + default: +endif + +steps:= $(wildcard step-*) + +configure_examples: + @echo "============ Configure all examples" + @for f in $(steps);\ + do\ + cd $$f ;\ + cmake .;\ + done + +.PHONY: configure_examples +