diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-10-21 12:01:27 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-10-21 12:10:19 -0400 |
commit | d35ecac1ee5d08c3c7d3604ba6ec4d7177f20289 (patch) | |
tree | 2f5f5e04098a417ede602b730e7e595271499f60 /maker.org | |
parent | maker.org make setting debug flags more straightforward (diff) |
maker.org make setting debug flags more straightforward, clean
Diffstat (limited to 'maker.org')
-rw-r--r-- | maker.org | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -39,18 +39,19 @@ GDC_FLAGS_RELEASE=-frelease GDC_FLAG_BINOF=-o #+end_src -*** set/select: compiler settings [+1] +*** set/select: ~compiler~ & ~debug flags~ [+1] Set flags: -**** SET compiler is: -Set D_COMPILER one of DMD LDC or GDC +**** SET compiler is "SET_D_COMPILER=": +Set D_COMPILER one of DMD LDC or GDC e.g.: SET_D_COMPILER=DMD #+BEGIN_SRC makefile :tangle makefile # set D_COMPILER one of DMD LDC or GDC: SET_D_COMPILER=LDC #+end_src -**** SET debug flags are: -Set debug flags using DMD standard flag -debug= +**** SET debug flags are "SET_DC_FLAGS_DEBUG_EXTRA=-debug=": +Set debug flags using DMD standard flag -debug= e.g.: + SET_DC_FLAGS_DEBUG_EXTRA=-debug=headings -debug=bookindex #+BEGIN_SRC makefile :tangle makefile SET_DC_FLAGS_DEBUG_EXTRA=-debug=headings -debug=bookindex @@ -62,9 +63,6 @@ DC=$($(SET_D_COMPILER)) DC_FLAGS=$($(shell echo $(SET_D_COMPILER)_FLAGS)) DC_FLAGS_RELEASE=$($(shell echo $(SET_D_COMPILER)_FLAGS_RELEASE)) DC_FLAG_BINOF=$($(shell echo $(SET_D_COMPILER)_FLAG_BINOF)) -#DC_FLAGS=$($(shell echo $(DC)_FLAGS)) -#DC_FLAGS_RELEASE=$($(shell echo $(DC)_FLAGS_RELEASE)) -#DC_FLAG_BINOF=$($(shell echo $(DC)_FLAG_BINOF)) DC_FLAGS_DEBUG_DEFAULT_SET=-unittest -debug=checkdoc -debug=summary DC_FLAGS_DEBUG_SET=\ $(shell echo $(DC_FLAGS_DEBUG_DEFAULT_SET) $(SET_DC_FLAGS_DEBUG_EXTRA)) |