build.sh 197 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
gcc --version
gfortran --version

set -o verbose
rm *.o *.mod a.out

gcc -c C_Allocate.c
gfortran -c C_AllocateModule.f90
gfortran C_AllocateProgram.f90 C_Allocate.o C_AllocateModule.o