Skip to content
Snippets Groups Projects
Makefile_DavidWhipp 1.52 KiB
Newer Older
  • Learn to ignore specific revisions
  • # Makefile for program cascade
    # developed by Jean Braun
    #              Research School of Earth Sciences
    #              The Australian National University
    #              Canberra, ACT 0200, Australia
    #              Tel:+61-2-6249-5512
    #              Fax:+61-2-6249-5443
    #              email: Jean.Braun@anu.edu.au
    
    include ../Makefile.pathscale
    #include ../Makefile.ifort
    #include ../Makefile.macosx
    
    # compilation flags (edit here to optimize for your machine...)
    # the -p option turns the profiling option on
    
    F77 = mpif90
    #FLAGS = -c -O3 -openmp_stubs
    #LFLAGS = -O
    
    # object (all the interesting bits to do the erosion/sedimentation
    #         computations)
    
    OBJECTS = \
    cascade.o \
    check_for_removal.o \
    change_sea_level.o \
    fluvial_erosion.o \
    find_neighbours.o \
    find_neighbour_list.o \
    find_centre.o \
    find_donors.o \
    find_order.o \
    random.o \
    find_surface.o \
    check_mesh.o \
    debug.o \
    diffusion_erosion.o \
    erosional_properties.o \
    tectonic_uplift.o \
    find_catchment.o \
    flexure.o \
    read_but_skip_comment.o \
    iread_but_skip_comment.o \
    initialize_nodal_geometry.o \
    initialize_general_parameters.o \
    tectonic_movement.o \
    update_bedrock.o \
    update_time_step.o \
    write_output.o \
    orography.o \
    sinft.o \
    four1.o \
    realft.o \
    nn_remove.o \
    del_flip.o
    
    # compilation only
    
    .f.o:
    	$(F77) $(FLAGS) $*.f
    
    # create an executable
    # note that the option -lsocket is something that we have found necessary
    # on our Sun workstations; it is usually not needed on a well maintained
    # Unix system...
    cascade: $(OBJECTS) $(UTILS)
    	ar rcv libcascade.a $(OBJECTS)