##*************************************************************************##
##  CUBE        http://www.scalasca.org/                                   ##
##*************************************************************************##
##  Copyright (c) 1998-2016                                                ##
##  Forschungszentrum Juelich GmbH, Juelich Supercomputing Centre          ##
##                                                                         ##
##  Copyright (c) 2009-2015                                                ##
##  German Research School for Simulation Sciences GmbH,                   ##
##  Laboratory for Parallel Programming                                    ##
##                                                                         ##
##  This software may be modified and distributed under the terms of       ##
##  a BSD-style license.  See the COPYING file in the package base         ##
##  directory for details.                                                 ##
##*************************************************************************##


#------------------------------------------------------------------------------
# General Settings
#------------------------------------------------------------------------------
CUBE_DIR = /usr


# Creates examples for backend and frontend
all: make-frontend 


#Makefile.frontend is demonstrating usage of CUBE libraries at frontend of the machine
make-frontend:
	make -f Makefile.frontend
	@echo "=============================================================="
	@echo "make run"
	@echo "'make run-frontend'  - to run frontend examples"
	@echo "=============================================================="


run: run-frontend 


run-frontend:
	make -f Makefile.frontend run

