summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold2014-12-23 07:01:04 +0100
committerTristan Gingold2014-12-23 07:01:04 +0100
commit71b6ae134cb0ffd4281a5ae6866ef1bc0ff04dcb (patch)
tree3c45049abe2159d7c38593b103e3fdcac1434b82 /Makefile.in
parentcec064bb30e313659ba0b3ef05cfe37e167c2465 (diff)
downloadghdl-71b6ae134cb0ffd4281a5ae6866ef1bc0ff04dcb.tar.gz
ghdl-71b6ae134cb0ffd4281a5ae6866ef1bc0ff04dcb.tar.bz2
ghdl-71b6ae134cb0ffd4281a5ae6866ef1bc0ff04dcb.zip
Makefile.in: add ADA_FLAGS.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index af1d22e..947bd26 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -39,20 +39,25 @@ GRT_RANLIB=ranlib
VHDL_LIB_DIR=$(prefix)/$(libdirsuffix)
ADAC=$(CC)
-GNATFLAGS=-gnaty3befhkmr -gnata -gnatwae -aO. -g -gnatf -gnat05
-GRT_FLAGS=-g
-LIB_CFLAGS=-g -O2
+# Debug
+ADA_FLAGS=-g -gnata
# Optimize, do not forget to use MODE=--genfast for iirs.adb.
-#GNATFLAGS+=-O -gnatn
+#ADA_FLAGS+=-O -gnatpn
#GRT_FLAGS+=-O
# Profiling.
-#GNATFLAGS+=-pg -gnatn -O
+#ADA_FLAGS+=-pg -gnatn -O
#GRT_FLAGS+=-pg -O
# Coverage
-#GNATFLAGS+=-fprofile-arcs -ftest-coverage
+#ADA_FLAGS+=-fprofile-arcs -ftest-coverage
+
+GRT_FLAGS=-g
+LIB_CFLAGS=-g -O2
+
+GNATFLAGS=-gnaty3befhkmr -gnatwae -aO. -gnatf -gnat05 $(ADA_FLAGS)
+
GNAT_BARGS=-bargs -E