12345678910111213141516171819202122232425 |
- #!/bin/csh
- #
- # Makefile for potential density computation
- # Virginie Guemas - 14 April 2014
- #
- COMPILE = gfortran
- FLAGS = -O3 -mcmodel=medium -I/usr/include -L/usr/lib
- LIB = -lnetcdf -lnetcdff
- INCLUDE =
- EXEC = comp_rhop
- SRC = eosbn2.f90 check_stat.f90 comp_rhop.f90
- .SUFFIXES : .f90 .o .F90
- .f90.o:
- $(COMPILE) $(FLAGS) -c $(LIB) $<
- all: $(EXEC) clean
- $(EXEC): $(SRC:.f90=.o)
- $(COMPILE) ${FLAGS} $(LIB) -o $@ \
- $(SRC:.f90=.o) ${FLAGS}
- clean:
- rm -f *.o *.mod
|