15 |
|
|
16 |
# 2. Objects and executable files |
# 2. Objects and executable files |
17 |
|
|
18 |
obj_ce0l := $(addsuffix .o, $(sort $(basename ${common_sources} ${src_ce0l_only}))) |
obj_ce0l := $(sort ${common_sources:.f=.o} ${src_ce0l_only:.f=.o}) |
19 |
|
obj_gcm := $(sort ${common_sources:.f=.o} ${src_gcm_only:.f=.o}) |
20 |
obj_gcm := $(addsuffix .o, $(sort $(basename ${common_sources} ${src_gcm_only}))) |
objects := $(sources:.f=.o) |
|
|
|
|
objects := $(addsuffix .o, $(basename ${sources})) |
|
21 |
execut = ce0l gcm |
execut = ce0l gcm |
22 |
|
|
23 |
# 3. Compiler-dependent part |
# 3. Compiler-dependent part |
55 |
${FC} ${version_flag} >>$@ 2>&1 |
${FC} ${version_flag} >>$@ 2>&1 |
56 |
echo -e "\nFC = ${FC}\n\nFFLAGS = ${FFLAGS}\n\nLDLIBS = ${LDLIBS}\n\nLDFLAGS = ${LDFLAGS}" >>$@ |
echo -e "\nFC = ${FC}\n\nFFLAGS = ${FFLAGS}\n\nLDLIBS = ${LDLIBS}\n\nLDFLAGS = ${LDFLAGS}" >>$@ |
57 |
|
|
58 |
ifneq ($(MAKECMDGOALS), clobber) |
ifeq ($(findstring $(MAKECMDGOALS), clobber depend),) |
59 |
include ${src_root}/depend.mk |
include ${src_root}/depend.mk |
60 |
endif |
endif |
61 |
|
|