Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
McMule
handyG
Commits
eeac56a6
Commit
eeac56a6
authored
Jul 08, 2019
by
ulrich_y
Browse files
Cleaned makefile
parent
6161ad7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
makefile
makefile
+12
-10
No files found.
makefile
View file @
eeac56a6
SHELL
=
/bin/sh
UNAME_S
:=
$(
shell
uname
-s
)
SHA1
=
sha1sum
MODE
=
DEBUG
FC
=
gfortran
AR
=
ar rcs
AR
=
ar rcs
CC
=
gcc
MCC
=
mcc
LD
=
gfortran
FFLAGS
=
-fdefault-real-8
-cpp
-pedantic-errors
-std
=
f2008
FFLAGS
+=
-Werror
-Wall
-Wno-maybe-uninitialized
-Wno-uninitialized
...
...
@@ -19,9 +17,10 @@ else
FFLAGS
+=
-ffpe-trap
=
invalid,overflow
-fdump-core
-fbacktrace
endif
LD
=
gfortran
files
=
globals.o ieps.o utils.o shuffle.o maths_functions.o mpl_module.o gpl_module.o
objects
=
$(
addprefix
build/,
$(files)
)
objects
=
build/globals.o build/ieps.o build/utils.o build/shuffle.o build/maths_functions.o build/mpl_module.o build/gpl_module.o
all
:
libgpl.a gpl eval test
libgpl.a
:
$(objects)
@
echo
"AR
$@
"
...
...
@@ -40,6 +39,9 @@ test: $(objects) build/test.o
@
echo
"LD
$@
"
@
$(LD)
-o
$@
$^
$(LFLAGS)
check
:
test
./
$<
clean
:
@
rm
-f
build/
*
.o build/
*
.mod
@
rm
-f
test eval
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