Skip to content
Snippets Groups Projects
Makefile 1.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • Douglas Guptill's avatar
    Douglas Guptill committed
    # 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.p690
    #include ../Makefile.pathscale
    #include ../Makefile.ifort
    #include ../Makefile.macosx
    
    # 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
    
    # compile rule:
    #
    .f.o:
    	$(F77) $(FLAGS) -c $<
    
    # make the library
    #
    cascade: $(OBJECTS) $(UTILS)
    	ar -rv libcascade.a $(OBJECTS)
    
    .PHONY: objclean
    objclean:
    	rm *.o
    
    .PHONY: clean
    clean: objclean
    	rm libcascade.a