source: XIOS/xios_training/hands-on-6/Makefile @ 2056

Last change on this file since 2056 was 2056, checked in by ymipsl, 3 years ago

XIOS TRAINING : update hands-on

  • Property svn:eol-style set to native
File size: 377 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
10
11all: test_tp6
12
13%: %.o
14        $(FC) -o $@.exe $^ $(LDFLAGS)
15
16%.o: %.f90
17        $(FC) $(FCFLAGS) -c $<
18
19clean:
20        rm -f *.exe
21        rm -f *.o *.mod *.MOD
22        rm -f xios_client_*.out
23        rm -f xios_client_*.err
Note: See TracBrowser for help on using the repository browser.