Compile the code for shipwake case

Makefile

See an example of a complete “Makefile” here.

For this example, you will need to update the EXEC variable, and make sure the appriopriate FLAGS are active in the “Makefile”:

#---------BEGIN MAKEFILE-----------
     ...
     ...
     EXEC   = funwave_vessel      # for example

#-----------------------------------
#    PRECISION ...
#
#-----------------------------------
## FLAGS
## Flag numbers are arbitrary, but necessary

     FLAG_1 = -DDOUBLE_PRECISION
     FLAG_4 = -DCARTESIAN
     FLAG_12 = -DVESSEL

# if parallel add
     FLAG_2 = -DPARALLEL

# if intel compiler add
     FLAG_6 = -DINTEL
     ...

#----------------------------------
# mpi defs
#----------------------------------
## COMPILER INFO

     ...

     FC = mpif90     # for example

The compiled exe file is “funwave_vessel.exe”.