File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ bindir = $(prefix)/bin
15
15
sharedir = $(prefix ) /share
16
16
examplesdir = $(prefix ) /share/examples/gnatstudio
17
17
18
+ BUILD? =Debug
19
+
18
20
SYS := $(shell gcc -dumpmachine)
19
21
20
22
all default :
21
- $(MAKE ) -C gnatstudio default
22
- $(MAKE ) -C cli default
23
- $(MAKE ) -C testsuite default
23
+ $(MAKE ) -C gnatstudio BUILD= $( BUILD ) $@
24
+ $(MAKE ) -C cli BUILD= $( BUILD ) $@
25
+ $(MAKE ) -C testsuite BUILD= $( BUILD ) $@
24
26
25
27
codepeer :
26
28
$(MAKE ) -C gnatstudio scil
Original file line number Diff line number Diff line change 16
16
endif
17
17
18
18
GPRBUILD =gprbuild
19
- ifeq ($(BUILD ) ,cov )
19
+ ifeq ($(BUILD ) ,Coverage )
20
20
GPRBUILD_FLAGS =-j0 -m2 -p --src-subdirs=gnatcov-instr --implicit-with=gnatcov_rts.gpr
21
21
else
22
22
GPRBUILD_FLAGS =-j0
You can’t perform that action at this time.
0 commit comments