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) 2012, Regents of the University of Minnesota. All rights reserved. 23# 24# Contributors: 25# Ryan S. Elliott 26# 27 28# 29# Release: This file is part of the openkim-api-v1.1.1 package. 30# 31 32 33TEST_NAME := ex_test_Ar_FCCcohesive_MI_OPBC 34 35LOCALOBJ = 36 37LOCALCLEAN = 38 39# No changes should be needed below this line. 40 41ifndef KIM_API_DIR 42 include $(KIM_DIR)/KIM_API/Include.mk 43else 44 include $(KIM_API_DIR)/Include.mk 45endif 46 47 48all: $(TEST_NAME) 49 50$(TEST_NAME): $(LOCALOBJ) $(strip $(TEST_NAME)).o $(KIM_LIB_FILE) 51 $(LINKCOMPILER) $(CPPFLAG) $(LOCALOBJ) $< $(KIM_LIB) $(LINKLIBFLAG) $(OUTPUTIN) $@ 52 53$(strip $(TEST_NAME)).o: $(LOCALOBJ) Makefile 54 55Makefile: $(KIM_API_DIR)/Include.mk 56 @touch Makefile 57 58clean: 59 rm -f *.mod *.o $(TEST_NAME) $(LOCAL_CLEAN) 60