source: XIOS/xios_training/hands-on-6/TP_src/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
RevLine 
[2046]1# Compilateur
[2056]2FC = mpif90
[2046]3# Variables
[2056]4XIOS_DIR = ../xios_build
[2046]5# Includes
[2056]6FCFLAGS= -I$(XIOS_DIR)/inc  -I$(NETCDF_INCDIR)
[2046]7# Librairies
[2056]8LDFLAGS = -L$(XIOS_DIR)/lib -lxios $(NETCDFLIBS) -lstdc++
[2046]9
[2056]10
[2046]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.