#
# PCN System
# Authors:     Steve Tuecke and Ian Foster
#              Argonne National Laboratory
#
# Please see the DISCLAIMER file in the top level directory of the
# distribution regarding the provisions under which this software
# is distributed.
#
# examples/Makefile
#

INSTALL_EX_DIR=/usr/local/pcn_2.0/examples
G_CP=/bin/cp
G_CHMOD=/bin/chmod
G_FILE_MODE=644
G_DIR_MODE=755

INSTALL_FILES = \
		README

INSTALL_DIRS = \
		circle \
		foreign \
		life

install:
	for i in $(INSTALL_FILES) ; do \
	    $(G_CP) -r $${i} $(INSTALL_EX_DIR)/. ; \
	    $(G_CHMOD) $(G_FILE_MODE) $(INSTALL_EX_DIR)/$${i} ; \
	done
	for i in $(INSTALL_DIRS) ; do \
	    $(G_CP) -r $${i} $(INSTALL_EX_DIR)/. ; \
	    $(G_CHMOD) $(G_DIR_MODE) $(INSTALL_EX_DIR)/$${i} ; \
	    $(G_CHMOD) $(G_FILE_MODE) $(INSTALL_EX_DIR)/$${i}/* ; \
	done

