Newer
Older
NAME=douar_wsmp
include Makefile.inc
BIN=$(NAME)$(BITS)
OBJECTS = \
module_threads.o \
module_constants.o \
module_invariants.o \
module_gauss.o \
module_definitions.o \
module_random.o \
module_colormap.o \
module_version.o \
module_strain_soften.o \
DoRuRe.o \
assign_cloud_mat_number.o \
build_surface_octree.o \
build_system_wsmp.o \
calculate_density_profile.o \
calculate_lsf.o \
check_delaunay.o \
compaction.o \
compute_convergence_criterion.o \
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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_2Dpunch.o \
define_bc_2Dpunch_vert.o \
define_bc_3Dpunch.o \
define_bc_folding.o \
define_bc_jgr.o \
define_bc_model1.o \
define_bc_nest.o \
define_bc_parallipipede.o \
define_bc_pipo.o \
define_bc_riedel.o \
define_bc_ritske.o \
define_bc_ritske_isurf.o \
define_bc_segmented_s_line.o \
define_bc_sphere.o \
define_bc_subduction.o \
define_isostasy_bc.o \
define_surface.o \
define_cloud.o \
define_ov.o \
do_leaf_measurements.o \
embed_surface_in_octree.o \
erosion.o \
find_mat_numbers_from_cloud.o \
find_void_nodes.o \
flush.o \
get_elem_mat_number_from_cloud.o \
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 \
octreelsf_shrink_xyz.o \
octreesolve_shrink_xyz.o \
octreev_shrink_xyz.o \
pressure_cut.o \
put_str_density_on_osolve.o \
qsort.o \
read_controlling_parameters.o \
read_input_file.o \
refine_surface.o \
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
sedimentation.o \
solve_with_pwssmp.o \
solve_with_pwgsmp.o \
store_ematnump_on_cloud.o \
strain_history.o \
scanfile.o smooth_pressures.o \
toolbox.o \
update_cloud_structure.o \
update_cloud_fields.o \
remove_point.o \
wsmp_setup.o \
DOUAR.o \
write_global_output.o vrm.o
all: $(BIN)
$(BIN): version subdirs $(OBJECTS)
@echo "$(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN)" \
>$(BIN).link.stdout
$(F90) $(FFLAGS) $(OPTIONS) $(OBJECTS) $(LIBS) -o $(BIN) \
1>>$(BIN).link.stdout 2>>$(BIN).link.stderr
otool -L $(BIN) >>$(BIN).link.stdout
.PHONY: install
install:
mv -f $(BIN) ../bin
.PHONY: version
version:
@echo "Updating version number in source"
bash update_svn_version.sh
subdirs:
cd CASCADE; make all
cd NN; make all
cd OCTREE; make all
cd RESAMPLE; make all
vtk:
cd OCTREE; make all
cd VTK; make all
.PHONY: objclean
objclean:
cd CASCADE; make $@
cd NN; make $@
cd OCTREE; make $@
cd RESAMPLE; make $@
rm -f *.o *.mod $(COMPILE_OUT)
.PHONY: distclean
distclean: objclean
cd CASCADE; make $@
cd NN; make $@
cd OCTREE; make $@
cd RESAMPLE; make $@
rm -f $(BIN) $(BIN).link.stdout $(BIN).link.stderr
.PHONY: more-output
more-output:
cd CASCADE; make $@
cd NN; make $@
cd OCTREE; make $@
cd RESAMPLE; make $@
@echo "--"
@echo "compiler output from `pwd`"
@if test -e $(COMPILE_OUT) ; then more $(COMPILE_OUT) ; fi
@echo "--"
@echo "linker output...."
@if test -e $(BIN).link.stdout ; then more $(BIN).link.stdout ; fi
@if test -e $(BIN).link.stderr ; then more $(BIN).link.stderr ; fi
.PHONY: mahone
mahone::
cp -f Makefile.inc.mahone Makefile.inc
# end of file