6 |
|
|
7 |
makefile_dir = . |
makefile_dir = . |
8 |
|
|
9 |
VPATH := ${makefile_dir}/.. $(addprefix ${makefile_dir}/../, $(shell cat ${makefile_dir}/directories)) |
VPATH := ${makefile_dir}/Sources $(addprefix ${makefile_dir}/Sources/, $(shell cat ${makefile_dir}/directories)) |
10 |
|
|
11 |
src_ce0l := $(shell cat ${makefile_dir}/src_ce0l) |
src_ce0l := $(shell cat ${makefile_dir}/src_ce0l) |
12 |
src_gcm := $(shell cat ${makefile_dir}/src_gcm) |
src_gcm := $(shell cat ${makefile_dir}/src_gcm) |
13 |
src_test_ozonecm = $(shell cat ${makefile_dir}/src_test_ozonecm) |
src_test_ozonecm := $(shell cat ${makefile_dir}/src_test_ozonecm) |
14 |
src_test_inter_barxy = $(shell cat ${makefile_dir}/src_test_inter_barxy) |
src_test_inter_barxy := $(shell cat ${makefile_dir}/src_test_inter_barxy) |
15 |
src_test_fxhyp = $(shell cat ${makefile_dir}/src_test_fxhyp) |
src_test_fxhyp := $(shell cat ${makefile_dir}/src_test_fxhyp) |
16 |
|
|
17 |
sources = $(sort ${src_ce0l} ${src_gcm} ${src_test_ozonecm} ${src_test_inter_barxy} ${src_test_fxhyp}) |
sources := $(sort ${src_ce0l} ${src_gcm} ${src_test_ozonecm} ${src_test_inter_barxy} ${src_test_fxhyp}) |
18 |
|
|
19 |
# 2. Objects and executable files |
# 2. Objects and executable files |
20 |
|
|
34 |
# 4. Rules |
# 4. Rules |
35 |
|
|
36 |
SHELL = bash |
SHELL = bash |
37 |
|
LINK.o = $(FC) $(LDFLAGS) $(TARGET_ARCH) |
38 |
.DELETE_ON_ERROR: |
.DELETE_ON_ERROR: |
39 |
.PHONY: all clean clobber depend |
.PHONY: all clean clobber depend |
40 |
all: ${execut} log |
all: ${execut} log |
|
|
|
|
${execut}: |
|
|
$(FC) $(LDFLAGS) $^ $(LDLIBS) -o $@ |
|
|
|
|
41 |
ce0l: ${obj_ce0l} |
ce0l: ${obj_ce0l} |
42 |
gcm: ${obj_gcm} |
gcm: ${obj_gcm} |
43 |
test_ozonecm: ${obj_test_ozonecm} |
test_ozonecm: ${obj_test_ozonecm} |