diff options
-rw-r--r-- | makefile | 3 | ||||
-rw-r--r-- | maker.org | 14 |
2 files changed, 6 insertions, 11 deletions
@@ -23,9 +23,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)) @@ -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)) |