4 # The contents of this file are subject to the terms of the Common Development
5 # and Distribution License Version 1.0 (the "License").
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.
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:
16 # Portions Copyright (c) [yyyy] [name of copyright owner]. All rights reserved.
22 # Copyright (c) 2013--2018, Regents of the University of Minnesota.
23 # All rights reserved.
31 # load all basic KIM make configuration
32 KIM_API_BUILD_CONFIG = kim-api-v2-build-config
33 ifeq ($(shell $(KIM_API_BUILD_CONFIG) --version 2> /dev/null),)
34 $(error $(KIM_API_BUILD_CONFIG) utility is not available. Something is wrong with your KIM API package setup)
36 include $(shell $(KIM_API_BUILD_CONFIG) --master-config)
39 # set model driver specific details
40 MODEL_DRIVER_NAME := LennardJones612__MD_414112407348_003
41 MODEL_DRIVER_CREATE_FUNCTION_NAME := model_driver_create
42 MODEL_DRIVER_CREATE_FUNCTION_LANG := cpp
44 LOCALOBJ = LennardJones612.o LennardJones612Implementation.o
46 LennardJones612.o: LennardJones612.hpp LennardJones612Implementation.hpp
47 LennardJones612Implementation.o: LennardJones612Implementation.hpp \
48 LennardJones612ImplementationComputeDispatch.cpp
49 LennardJones612ImplementationComputeDispatch.cpp: CreateDispatch.sh
51 @printf "Creating... $@.\n"
53 LOCALCLEAN = LennardJones612ImplementationComputeDispatch.cpp
55 # APPEND to compiler option flag lists
62 # load remaining KIM make configuration
63 include $(KIM_DIR)/$(builddir)/Makefile.ModelDriver