From a64d1a2cc509d718cfd939249d1ec6479d98acc1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 7 Jul 2016 08:28:19 -0400 Subject: maker.org compiler linker --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index c983c18..1e804cf 100644 --- a/makefile +++ b/makefile @@ -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 -- cgit v1.2.3