# Bacio: Makefile 
# Include compilers options -------------------------
 include ../../eta/src/configure/make.inc
# by Lamosa PAD/CPTEC/2007 --------------------------



all: clean
	
	@####################################################
	@#       C Part                                     #
	@####################################################

	@#
	@#       Uncomment (remove the leading # sign)
	@#       the appropriate cc line from the following
	@#       three options

	@# DEC option
	@# cc -std -c bacio.v1.3.c

	@# HP option
	@# cc -Aa -Ae -c bacio.v1.3.c

	@# SGI,IBM,LINUX option (and probably most others)
	@${CPP} -c bacio.v1.3.c
	@ar rv ../bacio bacio.v1.3.o
	
	@####################################################
	@#       FORTRAN part                               #
	@####################################################
	
	@${FC} -c baciof.f
	@ar rv ../bacio baciof.o

	@rm -f bacio.v1.3.o baciof.o
	@echo "Bacio library complete..."

clean:
	rm -f ../bacio
