#!/bin/bash FC=ifc OPT="-c " $FC \ $OPT \ gms_datatype.f90 \ model_info.f90 \ mem_manager.f90 \ gms_assign.f90 \ gms_assign2.f90 \ gms_asym.f90 \ gms_cyclic.f90 \ gms_def_var.f90 \ gms_get.f90 \ gms_input_var.f90 \ gms_input_func_var.f90 \ gms_math_derivative.f90 \ gms_math_divide.f90 \ gms_math_function.f90 \ gms_math_bar.f90 \ gms_math_minus.f90 \ gms_math_plus.f90 \ gms_math_times.f90 \ gms_math_power.f90 \ gms_math_mean.f90 \ gms_math_cmean.f90 \ gms_position.f90 \ gms_size.f90 \ gms_sym.f90 \ gms.f90 \ ar -crvs libgms.a *.o mv *.mod include/ mv libgms.a lib/ rm -f *.o