KIM API V2
Makefile
Go to the documentation of this file.
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the Common Development
5 # and Distribution License Version 1.0 (the "License").
6 #
7 # You can obtain a copy of the license at
8 # http://www.opensource.org/licenses/CDDL-1.0. See the License for the
9 # specific language governing permissions and limitations under the License.
10 #
11 # When distributing Covered Code, include this CDDL HEADER in each file and
12 # include the License file in a prominent location with the name LICENSE.CDDL.
13 # If applicable, add the following below this CDDL HEADER, with the fields
14 # enclosed by brackets "[]" replaced with your own identifying information:
15 #
16 # Portions Copyright (c) [yyyy] [name of copyright owner]. All rights reserved.
17 #
18 # CDDL HEADER END
19 #
20 
21 #
22 # Copyright (c) 2013--2018, Regents of the University of Minnesota.
23 # All rights reserved.
24 #
25 # Contributors:
26 # Ryan S. Elliott
27 #
28 
29 
30 # load all basic KIM make configuration
31 KIM_API_BUILD_CONFIG = kim-api-v2-build-config
32 ifeq ($(shell $(KIM_API_BUILD_CONFIG) --version 2> /dev/null),)
33  $(error $(KIM_API_BUILD_CONFIG) utility is not available. Something is wrong with your KIM API package setup)
34 endif
35 include $(shell $(KIM_API_BUILD_CONFIG) --master-config)
36 
37 
38 # set model driver specific details
39 MODEL_DRIVER_NAME := ex_model_driver_P_Morse
40 MODEL_DRIVER_CREATE_FUNCTION_NAME := model_driver_create
41 MODEL_DRIVER_CREATE_FUNCTION_LANG := c
42 
43 LOCALOBJ = ex_model_driver_P_Morse.o
44 
45 LOCALCLEAN =
46 
47 # APPEND to compiler option flag lists
48 #FFLAGS +=
49 #CFLAGS +=
50 #CXXFLAGS +=
51 #LDFLAGS +=
52 #LDLIBS +=
53 
54 # load remaining KIM make configuration
55 include $(KIM_DIR)/$(builddir)/Makefile.ModelDriver