diff options
-rw-r--r-- | makefile | 8 | ||||
-rw-r--r-- | maker.org | 17 |
2 files changed, 21 insertions, 4 deletions
@@ -1,9 +1,9 @@ DMD=dmd -DMD_FLAGS=-de -w -J./views -I./src/sdp +DMD_FLAGS=-de -w -J./views -I./src/sdp -linker=ld.gold DMD_FLAGS_RELEASE=-O -release DMD_FLAG_BINOF=-of LDC=ldc2 -LDC_FLAGS=-w -J=views -I=src/sdp +LDC_FLAGS=-w -J=views -I=src/sdp -linker=ld.gold LDC_FLAGS_RELEASE=-O4 -release LDC_FLAG_BINOF=-of= GDC=gdc @@ -66,6 +66,8 @@ debug_dub: $(PRG_SRCDIR)/$(PRG_SRC) # dmd dub_dmd_release: expunge skel tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-release +dub_dmd_stamp: tangle + $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd dub_dmd_release_test: tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd dub_dmd_debug: tangle @@ -79,6 +81,8 @@ dub_dmd_debug_src: # ldc2 dub_ldc_release: expunge skel tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-release +dub_ldc_stamp: tangle + $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc dub_ldc_release_test: tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc dub_ldc_debug: tangle @@ -13,23 +13,32 @@ #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) [[./org/sdp.org][sdp.org]] [[./org/][org/]] + * sdp makefile :makefile: ** TODO settings [+2] :settings: *** alternative D compilers (dmd/ldc2/gdc) [+1] :compiler: + +http://dlang.org/download.html +https://wiki.dlang.org/Compilers + **** dmd [#A] :dmd: +http://dlang.org/ + #+BEGIN_SRC makefile :tangle makefile DMD=dmd -DMD_FLAGS=-de -w -J./views -I./src/sdp +DMD_FLAGS=-de -w -J./views -I./src/sdp -linker=ld.gold DMD_FLAGS_RELEASE=-O -release DMD_FLAG_BINOF=-of #+END_SRC **** ldc2 [#A] :ldc: +https://github.com/ldc-developers/ldc + #+BEGIN_SRC makefile :tangle makefile LDC=ldc2 -LDC_FLAGS=-w -J=views -I=src/sdp +LDC_FLAGS=-w -J=views -I=src/sdp -linker=ld.gold LDC_FLAGS_RELEASE=-O4 -release LDC_FLAG_BINOF=-of= #+END_SRC @@ -235,6 +244,8 @@ debug_dub: $(PRG_SRCDIR)/$(PRG_SRC) # dmd dub_dmd_release: expunge skel tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-release +dub_dmd_stamp: tangle + $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd dub_dmd_release_test: tangle $(DUB) $(DUB_FLAGS)dmd --config=sdp-dmd dub_dmd_debug: tangle @@ -248,6 +259,8 @@ dub_dmd_debug_src: # ldc2 dub_ldc_release: expunge skel tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-release +dub_ldc_stamp: tangle + $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc dub_ldc_release_test: tangle $(DUB) $(DUB_FLAGS)ldc2 --config=sdp-ldc dub_ldc_debug: tangle |