From 30865cf1a75a144629c6029ac55fbc744e330adf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 8 Aug 2017 12:10:22 -0400 Subject: maker.org makefile supported compilers, make all_builds_debug - dmd ldc2 gdc --- makefile | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 4c2ab15..12e27a2 100644 --- a/makefile +++ b/makefile @@ -64,6 +64,36 @@ dub: $(PRG_SRCDIR)/$(PRG_SRC) $(DUB) $(DUB_FLAGS)$(DC) debug_dub: $(PRG_SRCDIR)/$(PRG_SRC) $(DUB) $(DUB_FLAGS)$(DC) $(DUB_FLAGS_DEBUG) +all_builds_quick: + $(DUB) --compiler=dmd --config=sdp-dmd-version + mv bin/sdp-dmd-ver bin/sdp-$(PROJECT_VERSION)-dmd + $(DUB) --compiler=ldc2 --config=sdp-ldc-version + mv bin/sdp-ldc-ver bin/sdp-$(PROJECT_VERSION)-ldc + $(DUB) --compiler=gdc --config=sdp-gdc-version + mv bin/sdp-gdc-ver bin/sdp-$(PROJECT_VERSION)-gdc +all_builds_quick_release: + $(DUB) --compiler=dmd --config=sdp-dmd-version + mv bin/sdp-dmd-ver bin/sdp-$(PROJECT_VERSION)-dmd + $(DUB) --compiler=ldc2 --config=sdp-ldc-version + mv bin/sdp-ldc-ver bin/sdp-$(PROJECT_VERSION)-ldc + $(DUB) --compiler=gdc --config=sdp-gdc-version + mv bin/sdp-gdc-ver bin/sdp-$(PROJECT_VERSION)-gdc +all_builds: clean skel tangle + $(DUB) --compiler=dmd --config=sdp-dmd-version + mv bin/sdp-dmd-ver bin/sdp-$(PROJECT_VERSION)-dmd + $(DUB) --compiler=ldc2 --config=sdp-ldc-version + mv bin/sdp-ldc-ver bin/sdp-$(PROJECT_VERSION)-ldc + $(DUB) --compiler=gdc --config=sdp-gdc-version + mv bin/sdp-gdc-ver bin/sdp-$(PROJECT_VERSION)-gdc +all_builds_debug: clean skel tangle + $(DUB) --compiler=dmd --config=sdp-dmd-debug-version + mv bin/sdp-dmd-debug-ver bin/sdp-$(PROJECT_VERSION)-dmd-debug + $(DUB) --compiler=ldc2 --config=sdp-ldc-debug-version + mv bin/sdp-ldc-debug-ver bin/sdp-$(PROJECT_VERSION)-ldc-debug + $(DUB) --compiler=gdc --config=sdp-gdc-debug-version + mv bin/sdp-gdc-debug-ver bin/sdp-$(PROJECT_VERSION)-gdc-debug +ver: + echo sdp-$(PROJECT_VERSION) # dmd dmd_release: expunge skel tangle $(DUB) --compiler=dmd --config=sdp-release @@ -86,8 +116,6 @@ dmd_debug_unittest: tangle $(DUB) --compiler=dmd --config=sdp-dmd-debug-unittest dmd_debug_clean: tangle $(DUB) --compiler=dmd --config=sdp-debug-clean -dmd_tmp: tangle - $(DUB) --compiler=dmd --config=sdp-tmp dmd_debug_src: $(DUB) --compiler=dmd --config=sdp-debug # gdc @@ -112,8 +140,6 @@ gdc_debug_unittest: tangle $(DUB) --compiler=gdc --config=sdp-gdc-debug-unittest gdc_debug_clean: tangle $(DUB) --compiler=gdc --config=sdp-debug-clean -gdc_tmp: tangle - $(DUB) --compiler=gdc --config=sdp-tmp gdc_debug_src: $(DUB) --compiler=gdc --config=sdp-debug # ldc2 @@ -138,8 +164,6 @@ ldc_debug_unittest: tangle $(DUB) --compiler=ldc2 --config=sdp-ldc-debug-unittest ldc_debug_clean: tangle $(DUB) --compiler=ldc2 --config=sdp-debug-clean -ldc_tmp: tangle - $(DUB) --compiler=ldc2 --config=sdp-tmp ldc_debug_src: $(DUB) --compiler=ldc2 --config=sdp-debug dmd_release_test: tangle dmd_test_release -- cgit v1.2.3