Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
West
Commits
6a62f013
Commit
6a62f013
authored
Feb 04, 2020
by
Marco Govoni
Browse files
Added verbose Makefile and automatic checks
parent
e2c178e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
6a62f013
# Makefile for the WEST software
include
../make.inc
default
:
all
report_build_vars
:
@
[
"
${PYT}
"
]
||
(
echo
">> PYT is not set. Please set Python, ex: make PYT=python3"
;
exit
1
)
@
[
"
${MPIF90}
"
]
||
(
echo
">> MPIF90 is not set."
;
exit
1
)
@
[
"
${CC}
"
]
||
(
echo
">> CC is not set."
;
exit
1
)
@
echo
" "
@
echo
"##############"
@
echo
"# Build vars #"
@
echo
"##############"
@
echo
" "
@
echo
"# TOPDIR :
${TOPDIR}
"
@
echo
"# FDFLAGS :
${FDFLAGS}
"
@
echo
"# IFLAGS :
${IFLAGS}
"
@
echo
"# MOD_FLAG :
${MOD_FLAG}
"
@
echo
"# MPIF90 :
${MPIF90}
"
@
echo
"# CC :
${CC}
"
@
echo
"# F77 :
${F77}
"
@
echo
"# CPP :
${CPP}
"
@
echo
"# CPPFLAGS :
${CPPFLAGS}
"
@
echo
"# CFLAGS :
${CFLAGS}
"
@
echo
"# F90FLAGS :
${F90FLAGS}
"
@
echo
"# FFLAGS :
${FFLAGS}
"
@
echo
"# FFLAGS_NOOPT :
${FFLAGS_NOOPT}
"
@
echo
"# LD :
${LD}
"
@
echo
"# LDFLAGS :
${LDFLAGS}
"
@
echo
"# LD_LIBS :
${LD_LIBS}
"
@
echo
"# BLAS_LIBS :
${BLAS_LIBS}
"
@
echo
"# BLAS_LIBS_SWITCH :
${BLAS_LIBS_SWITCH}
"
@
echo
"# LAPACK_LIBS :
${LAPACK_LIBS}
"
@
echo
"# LAPACK_LIBS_SWITCH :
${LAPACK_LIBS_SWITCH}
"
@
echo
"# SCALAPACK_LIBS :
${SCALAPACK_LIBS}
"
@
echo
"# FFT_LIBS :
${FFT_LIBS}
"
@
echo
"# MPI_LIBS :
${MPI_LIBS}
"
@
echo
"# MASS_LIBS :
${MASS_LIBS}
"
@
echo
"# AR :
${AR}
"
@
echo
"# ARFLAGS :
${ARFLAGS}
"
@
echo
"# RANLIB :
${RANLIB}
"
@
echo
"# FLIB_TARGETS :
${FLIB_TARGETS}
"
@
echo
"# LIBOBJS :
${LIBOBJS}
"
@
echo
"# LIBS :
${LIBS}
"
@
echo
"# WGET :
${WGET}
"
@
echo
"# PYT :
${PYT}
"
@
echo
" "
pytools
:
\
report_build_vars
\
pytools_do
wstat
:
\
...
...
Pytools/Makefile
View file @
6a62f013
#PYT=python3
all
:
\
title
\
install
install
:
...
...
@@ -12,4 +13,11 @@ clean:
-
rm
-rf
dist
-
rm
files.txt
title
:
@
echo
" "
@
echo
"##############"
@
echo
"### Pytools ##"
@
echo
"##############"
@
echo
" "
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment