#/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# *                                                                 *
# * Copyright (C) 2000 Timothy E. Dowling                           *
# *                                                                 *
# * This program is free software; you can redistribute it and/or   *
# * modify it under the terms of the GNU General Public License     *
# * as published by the Free Software Foundation; either version 2  *
# * of the License, or (at your option) any later version.          *
# * A copy of this License is in the file:                          *
# *   $EPIC_PATH/License.txt                                        *
# *                                                                 *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of  *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.            *
# *                                                                 *
# * You should have received a copy of the GNU General Public       *
# * License along with this program; if not, write to the Free      *
# * Software Foundation, Inc., 59 Temple Place - Suite 330,         *
# * Boston, MA  02111-1307, USA.                                    *
# *                                                                 *
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#
#  This is the top Makefile for the single-processor EPIC model.
#
#  T. Dowling 1/95
#

all:
	@echo "Making EPIC single-processor version..." ; \
	make -f Makefile.epic ; 
	@if [ $(AVS_PATH) = none ] ; then \
	  echo "No AVS" ; \
	else \
	  echo "Making EPIC AVS modules..." ; \
	  make -f Makefile.epic_avs ; \
	  make -f Makefile.read ; \
	fi

clean:
	@rm -f core *o *BAK *bak *~ *% *.log

clear:
	@rm -f core *o *BAK *bak *~ *% *.log

install: 
	@echo "Installing EPIC single-processor version..." ; \
	make install -f Makefile.epic ;
	@if [ $(AVS_PATH) = none ] ; then \
	  echo No AVS ; \
	else \
	  echo "Installing EPIC AVS modules..." ; \
	  make install -f Makefile.epic_avs ; \
	  make install -f Makefile.read ; \
	fi 

depend:
	make depend -f Makefile.epic ;
	@if [ $(AVS_PATH) = none ] ; then \
	  echo No AVS ; \
	else \
	  make depend -f Makefile.epic_avs ; \
	  make depend -f Makefile.read ; \
	fi

# DO NOT DELETE THIS LINE -- make depend depends on it.
