2 |
|
|
3 |
# This makefile builds LMDZE. |
# This makefile builds LMDZE. |
4 |
|
|
|
# 1. Source files |
|
|
|
|
5 |
makefile_dir = . |
makefile_dir = . |
6 |
|
include ${general_compiler_options_dir}/settings.mk |
7 |
|
|
8 |
|
# 1. Source files |
9 |
|
|
10 |
VPATH := ${makefile_dir} $(addprefix ${makefile_dir}/, $(shell cat ${makefile_dir}/directories)) |
VPATH += $(addprefix ${makefile_dir}/, $(shell cat ${makefile_dir}/directories)) |
11 |
|
|
12 |
src_ce0l := $(shell cat ${makefile_dir}/src_ce0l) |
src_ce0l := $(shell cat ${makefile_dir}/src_ce0l) |
13 |
src_gcm := $(shell cat ${makefile_dir}/src_gcm) |
src_gcm := $(shell cat ${makefile_dir}/src_gcm) |
32 |
objects := $(addsuffix .o, $(basename ${sources})) |
objects := $(addsuffix .o, $(basename ${sources})) |
33 |
execut = ce0l gcm test_ozonecm test_inter_barxy test_fxhyp test_inifilr |
execut = ce0l gcm test_ozonecm test_inter_barxy test_fxhyp test_inifilr |
34 |
|
|
35 |
# 3. Compiler-dependent part |
# 3. Rules |
|
|
|
|
include ${general_compiler_options_dir}/settings.mk |
|
|
|
|
|
# 4. Rules |
|
36 |
|
|
37 |
all: ${execut} log |
all: ${execut} log |
38 |
ce0l: ${obj_ce0l} |
ce0l: ${obj_ce0l} |