aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-08-08 12:10:22 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit30865cf1a75a144629c6029ac55fbc744e330adf (patch)
treedb3da8732b0a17045aa84985743873e9d8362123 /makefile
parent0.18.0 rename meta from ao (considered adr) (diff)
maker.org makefile supported compilers, make all_builds_debug
- dmd ldc2 gdc
Diffstat (limited to 'makefile')
-rw-r--r--makefile36
1 files changed, 30 insertions, 6 deletions
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