Last change
on this file since 2045 was
2045,
checked in by ymipsl, 4 years ago
|
Add source hand-on and doc for training
YM
|
-
Property svn:eol-style set to
native
|
File size:
468 bytes
|
Line | |
---|
1 | # Compilateur |
---|
2 | FC = mpif90 |
---|
3 | # Variables |
---|
4 | XIOS_DIR =../xios_build |
---|
5 | # Includes |
---|
6 | FCFLAGS= -I$(XIOS_DIR)/inc -I$(NETCDF_INCDIR) -I$(NETCDFFORTRAN_INCDIR) -I$(MPI_INCDIR) |
---|
7 | # Librairies |
---|
8 | LDFLAGS = -L$(XIOS_DIR)/lib -L$(NETCDF_LIBDIR) -L$(NETCDFFORTRAN_LIBDIR) -lxios -lnetcdff -lnetcdf -lstdc++ |
---|
9 | |
---|
10 | all: test_tp8 |
---|
11 | |
---|
12 | %: %.o |
---|
13 | $(FC) -o $@.exe $^ $(LDFLAGS) |
---|
14 | |
---|
15 | %.o: %.f90 |
---|
16 | $(FC) $(FCFLAGS) -c $< |
---|
17 | |
---|
18 | clean: |
---|
19 | rm -f *.exe |
---|
20 | rm -f *.o *.mod *.MOD |
---|
21 | rm -f xios_client_*.out |
---|
22 | rm -f xios_client_*.err |
---|
Note: See
TracBrowser
for help on using the repository browser.