From e78afa3b2ef4f43755254b19ecf3b419f2d9ca31 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 26 Feb 2013 16:21:01 +0000 Subject: [PATCH] A GNUmakefile for the examples git-svn-id: https://svn.dealii.org/branches/branch_cmake@28580 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/GNUmakefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 deal.II/examples/GNUmakefile 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 + -- 2.39.5