Thanks! I feel pretty stupid not to have seen that. I guess I was looking for 'compile', not 'build'.
There seems to be an issue with MinGW Fortran, though, in my CB version at any rate (13.12):
mingw32-gfortran.exe -J -c D:\trophocell3D-abm\src\fmotion.f90 -o \src\fmotion.o
D:\trophocell3D-abm\src\fmotion.f90:4.4:
use global
1
Fatal Error: File 'global.mod' opened at (1) is not a GFORTRAN module file
The file I am compiling uses module global, which does exist (obviously) - the target DLL builds OK. Interestingly it finds global.mod but doesn't recognise it. This not a problem, in any case.