source: XIOS/xios_training/hands-on-2/Makefile @ 2052

Last change on this file since 2052 was 2052, checked in by ymipsl, 15 months ago

XIOS TRAINING : update hands-on

  • Property svn:eol-style set to native
File size: 380 bytes
Line 
1# Compilateur
2FC = mpif90
3# Variables
4XIOS_DIR = ../xios_build
5# Includes
6FCFLAGS= -I$(XIOS_DIR)/inc  -I$(NETCDF_INCDIR)
7# Librairies
8LDFLAGS = -L$(XIOS_DIR)/lib -lxios $(NETCDFLIBS) -lstdc++
9
10all: test_tp2
11
12%: %.o
13        $(FC) -o $@.exe $^ $(LDFLAGS)
14
15%.o: %.f90
16        $(FC) $(FCFLAGS) -c $<
17
18clean:
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.