Skip to content
Snippets Groups Projects
Makefile 2.03 KiB
Newer Older
Douglas Guptill's avatar
Douglas Guptill committed
NAME=douar
include Makefile.p690
Douglas Guptill's avatar
Douglas Guptill committed

OBJECTS = \
module_threads.o \
module_constants.o \
module_invariants.o \
module_gauss.o \
module_definitions.o \
module_random.o \
module_colormap.o \
DoRuRe.o \
build_surface_octree.o \
build_system_wsmp.o \
calculate_lsf.o \
compute_convergence_criterion.o \
check_delaunay.o \
compute_dhdx_dhdy_dhdz.o \
compute_divergence.o \
compute_pressure.o \
compute_positive_volume.o \
compute_normals.o \
create_surfaces.o \
define_bc.o \
define_bc_ritske.o \
define_bc_ritske_isurf.o \
define_bc_sphere.o\
define_bc_riedel.o\
define_bc_3Dpunch.o \
define_bc_2Dpunch.o \
define_bc_2Dpunch_vert.o \
define_bc_folding.o \
define_bc_pipo.o \
define_bc_jgr.o \
define_bc_subduction.o \
define_bc_parallipipede.o \
define_bc_model1.o \
define_surface.o\
define_cloud.o\
define_ov.o\
do_leaf_measurements.o \
embed_surface_in_octree.o \
erosion.o \
find_void_nodes.o \
Douglas Guptill's avatar
Douglas Guptill committed
flush.o \
Douglas Guptill's avatar
Douglas Guptill committed
heap.o \
improve_osolve.o\
initialize_temperature.o \
interpolate_ov_on_osolve.o \
interpolate_velocity_on_surface.o \
isostasy.o \
make_matrix.o \
make_cut.o \
make_pressure.o \
move_surface.o \
move_cloud.o \
pressure_cut.o \
qsort.o \
read_controlling_parameters.o \
read_input_file.o \
refine_surface.o \
solve_with_pwssmp.o \
solve_with_pwgsmp.o \
strain_history.o \
scanfile.o  slices.o smooth_pressures.o \
toolbox.o \
update_cloud_structure.o \
update_cloud_fields.o \
visualise_matrix.o \
remove_point.o \
wsmp_setup.o\
DOUAR.o \
write_global_output.o vrm.o

Douglas Guptill's avatar
Douglas Guptill committed
OPTIONS=-bnoquiet
Douglas Guptill's avatar
Douglas Guptill committed

all: $(NAME)
$(NAME): subdirs $(OBJECTS)
	$(F90) $(FLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(NAME) \
 >$(NAME).link 2>&1
	echo "--"
	echo "compiler output...."
	more $(COMPILE_OUT)
Douglas Guptill's avatar
Douglas Guptill committed
subdirs:
	cd CASCADE;   make all
	cd NN;        make all
	cd OCTREE;    make all
	cd RESAMPLE;  make all

.PHONY: objclean
objclean:
	cd CASCADE;   make $@
	cd NN;        make $@
	cd OCTREE;    make $@
	cd RESAMPLE;  make $@
	rm -f *.o *.mod $(COMPILE_OUT)

Douglas Guptill's avatar
Douglas Guptill committed
.PHONY: clean
clean: objclean
	cd CASCADE;   make $@
	cd NN;        make $@
	cd OCTREE;    make $@
	cd RESAMPLE;  make $@
	rm -f $(NAME) $(NAME).link