/Bioelectrics/Monodomain/Makefile
Makefile | 71 lines | 10 code | 8 blank | 53 comment | 0 complexity | 1bac62a62b8c88c390906a06e5470717 MD5 | raw file
1# 2#-*- makefile -*- 3# 4# For use with GNU make. 5# 6# 7#---------------------------------------------------------------------------------------------------------------------------------- 8# Makefile for compiling OpenCMISS examples 9# 10# Original by Chris Bradley adapted from the CMISS Makefile by Karl Tomlinson 11# Changes: 12# 13#---------------------------------------------------------------------------------------------------------------------------------- 14# 15# LICENSE 16# 17# Version: MPL 1.1/GPL 2.0/LGPL 2.1 18# 19# The contents of this file are subject to the Mozilla Public License 20# Version 1.1 (the "License"); you may not use this file except in 21# compliance with the License. You may obtain a copy of the License at 22# http://www.mozilla.org/MPL/ 23# 24# Software distributed under the License is distributed on an "AS IS" 25# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 26# License for the specific language governing rights and limitations 27# under the License. 28# 29# The Original Code is openCMISS 30# 31# The Initial Developer of the Original Code is University of Auckland, 32# Auckland, New Zealand and University of Oxford, Oxford, United 33# Kingdom. Portions created by the University of Auckland and University 34# of Oxford are Copyright (C) 2007 by the University of Auckland and 35# the University of Oxford. All Rights Reserved. 36# 37# Contributor(s): 38# 39# Alternatively, the contents of this file may be used under the terms of 40# either the GNU General Public License Version 2 or later (the "GPL"), or 41# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 42# in which case the provisions of the GPL or the LGPL are applicable instead 43# of those above. If you wish to allow use of your version of this file only 44# under the terms of either the GPL or the LGPL, and not to allow others to 45# use your version of this file under the terms of the MPL, indicate your 46# decision by deleting the provisions above and replace them with the notice 47# and other provisions required by the GPL or the LGPL. If you do not delete 48# the provisions above, a recipient may use your version of this file under 49# the terms of any one of the MPL, the GPL or the LGPL. 50# 51#---------------------------------------------------------------------------------------------------------------------------------- 52 53MAKEFLAGS = --no-builtin-rules --warn-undefined-variables 54 55#---------------------------------------------------------------------------------------------------------------------------------- 56 57ifndef OPENCMISS_ROOT 58 OPENCMISS_ROOT := ../../.. 59 GLOBAL_ROOT := $(CURDIR)/../../.. 60else 61 GLOBAL_ROOT := ${OPENCMISS_ROOT}/cm 62endif 63 64#---------------------------------------------------------------------------------------------------------------------------------- 65 66EXAMPLE_PATH = Bioelectrics/ 67 68EXAMPLE_NAME = Monodomain 69 70include $(GLOBAL_ROOT)/ExampleMakefile 71