PageRenderTime 11ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/simple-field-manipulation-direct-access/Makefile

http://github.com/xyan075/examples
Makefile | 69 lines | 9 code | 7 blank | 53 comment | 0 complexity | 74eef0ec26966803d58c66648fafa4ff MD5 | raw file
 1# -*- makefile -*-
 2#
 3# For use with GNU make.
 4#
 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_NAME = simple-field-manipulation-direct-access
67
68include $(GLOBAL_ROOT)/ExampleMakefile
69