-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.in
66 lines (57 loc) · 1.96 KB
/
makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
60
61
62
63
64
65
66
# Informations neccessary for compilation
# Utils
MAKE=make
MESSAGE=echo
#
#Compilation informations
#
# Fortran Compiler
FC=mpif90
# Option fo compiler
FCFLAGS=-fconvert=big-endian -frecord-marker=4 -DHAVE_MPI -DHAVE_MED -DHAVE_VTK -I${MEDHOME}/include
# Exe generator
LD=mpif90
# Option for exe
LDFLAGS=-fconvert=big-endian -frecord-marker=4 -lpthread -lm -L${MEDHOME}/lib -L${HDF5HOME}/lib -lhdf5 -lmed
# Library generator command
LIB_NAM=ar cru
#LIB_NAM="mpif90 -shared -fconvert=big-endian -frecord-marker=4 -lpthread -lm -L${MEDHOME}/lib -L${HDF5HOME}/lib -lhdf5 -lmed -o "
#
# Installation directory
#
DEST=${HOMETEL}/builds/${USETELCFG}
########################################################################
# WARNING #
# Do not edit the following lines #
# #
########################################################################
#------- Regles de compilation des sources FORTRAN
.SUFFIXES: .F90 .f90 .f .F .o .mod .MOD
.F90.o:
@$(MESSAGE) "=> Compilation de $< :"
@$(FC) $(FFLAGS) -c $<
@if [ -r *.mod ]; then \
cp -v *.mod $(DEST)/include/.; /bin/rm *.mod; fi;
@if [ -r *.MOD ]; then \
cp -v *.MOD $(DEST)/include/.; /bin/rm *.MOD; fi;
.f90.o:
@$(MESSAGE) "=> Compilation de $< :"
@$(FC) $(FFLAGS) -c $<
@if [ -r *.mod ]; then \
cp -v *.mod $(DEST)/include/.; /bin/rm *.mod; fi;
@if [ -r *.MOD ]; then \
cp -v *.MOD $(DEST)/include/.; /bin/rm *.MOD; fi;
.F.o:
@$(MESSAGE) "=> Compilation de $< :"
@$(FC) $(FFLAGS) -c $<
@if [ -r *.mod ]; then \
cp -v *.mod $(DEST)/include/.; /bin/rm *.mod; fi;
@if [ -r *.MOD ]; then \
cp -v *.MOD $(DEST)/include/.; /bin/rm *.MOD; fi;
.f.o:
@$(MESSAGE) "=> Compilation de $< :"
@$(FC) $(FFLAGS) -c $<
@if [ -r *.mod ]; then \
cp -v *.mod $(DEST)/include/.; /bin/rm *.mod; fi;
@if [ -r *.MOD ]; then \
cp -v *.MOD $(DEST)/include/.; /bin/rm *.MOD; fi;