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) |
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} |