source: LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/ifsaux/Makefile @ 5444

Last change on this file since 5444 was 4728, checked in by idelkadi, 15 months ago

Update of ecrad in the LMDZ_ECRad branch of LMDZ:

  • version 1.6.1 of ecrad
  • files are no longer grouped in the same ecrad directory.
  • the structure of ecrad offline is preserved to facilitate updating in LMDZ
  • cfg.bld modified to take into account the new added subdirectories.
  • the interface routines and those added in ecrad are moved to the phylmd directory
File size: 668 bytes
Line 
1SOURCES = parkind1.F90 yomlun_ifsaux.F90 yomcst.F90 abor1.F90 \
2        yomtag.F90 mpl_module.F90 yommp0.F90 yomdyncore.F90 yomlun.F90
3MAKE_INCLUDES = ../bin/make_intfbl.1.pl
4INCLUDE_DIR = ../include
5
6OBJECTS := $(SOURCES:.F90=.o)
7LIBIFSAUX = ../lib/libifsaux.a
8
9all: $(LIBIFSAUX)
10
11deps: includes
12
13$(LIBIFSAUX): $(OBJECTS)
14        ar r $(LIBIFSAUX) $(OBJECTS)
15
16%.o: %.F90
17        $(FC) $(FCFLAGS) -c $<
18
19includes:
20        LOC_INTFBDIR=$(INCLUDE_DIR) INTFBDIR=$(INCLUDE_DIR) $(MAKE_INCLUDES) $(SOURCES)
21
22clean:
23        rm -f *.o $(LIBIFSAUX)
24
25yomlun_ifsaux.o yomhook.o random_numbers_mix.o yomcst.o yomtag.o mpl_module.o yomdyncore.o: parkind1.o
26abor1.o yomlun.o : yomlun_ifsaux.o
27
28.PHONY: deps includes
Note: See TracBrowser for help on using the repository browser.