source: XIOS/xios_training/hands-on-11/TP_src/Makefile @ 2103

Last change on this file since 2103 was 2103, checked in by jderouillat, 23 months ago

XIOS TRAINING : fix HO 11 Makefile

File size: 385 bytes
RevLine 
[2102]1# Compilateur
[2103]2FC = mpif90
[2102]3# Variables
[2103]4XIOS_DIR = ../xios_build
[2102]5# Includes
[2103]6FCFLAGS= -I$(XIOS_DIR)/inc  -I$(NETCDF_INCDIR)
[2102]7# Librairies
[2103]8LDFLAGS = -L$(XIOS_DIR)/lib -lxios $(NETCDF_LIBS) -lstdc++
[2102]9
10all: generic_testcase
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.