Commit 42d43dc3 authored by Florian Hindenlang's avatar Florian Hindenlang
Browse files

error in Makefile

parent 6ee6d868
Pipeline #11963 failed with stages
in 1 second
......@@ -11,10 +11,11 @@ stages:
build_debug:
stage: build
script:
- cd ode-1 ; make clean ; make DEBUG=yes
- cd ode-1 ; make clean ; make DEBUG=yes 2>stderr 1>stdout
- cd .. ; rm -rf build_debug || true
- mkdir -p build_debug
- cp ode-1/rk_solve build_debug/.
- cp ode-1/stderr ode-1/stdout build_debug/.
artifacts:
untracked: true
when: always
......@@ -24,10 +25,11 @@ build_debug:
build_release:
stage: build
script:
- cd ode-1 ; make clean ; make DEBUG=no
- cd ode-1 ; make clean ; make DEBUG=no 2>stderr 1>stdout
- cd .. ; rm -rf build_release || true
- mkdir -p build_release
- cp ode-1/rk_solve build_release/.
- cp ode-1/stderr ode-1/stdout build_debug/.
artifacts:
untracked: true
when: always
......
......@@ -12,7 +12,7 @@ LD=$(FC)
FFLAGS = -xf95-cpp-input -cpp -fdefault-real-8 -fdefault-double-8 -fbackslash -DGNU # don't change
LDFLAGS = -fdefault-real-8 -fbackslash
ifneq ($(DEBUG),no)
FFLAGS += -g -O0 -ggdb3 -fbounds-check -finit-real=nan -Wall -Wextra -pedantic -Wconversion-extra -fcheck=all -ffpe-trap=invalid -fbacktrace
FFLAGS += -ghello -O0 -ggdb3 -fbounds-check -finit-real=nan -Wall -Wextra -pedantic -Wconversion-extra -fcheck=all -ffpe-trap=invalid -fbacktrace
LDFLAGS += -g -O0 -ggdb3 -fbounds-check -finit-real=nan -Wall -Wextra -pedantic -Wconversion-extra -fcheck=all -ffpe-trap=invalid -fbacktrace
else
FFLAGS += -O3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment