aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/targets.inc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/targets.inc')
-rw-r--r--externals/grill/flext/buildsys/targets.inc100
1 files changed, 67 insertions, 33 deletions
diff --git a/externals/grill/flext/buildsys/targets.inc b/externals/grill/flext/buildsys/targets.inc
index 0372392c..86cd3add 100644
--- a/externals/grill/flext/buildsys/targets.inc
+++ b/externals/grill/flext/buildsys/targets.inc
@@ -6,71 +6,105 @@ install: install-default-default
###########################################################
-build-default-default: build-$(TARGETMODE)-$(TARGETTYPE)
+build-all-all: build-release-all build-debug-all
-install-default-default: install-$(TARGETMODE)-$(TARGETTYPE)
+build-release-all: build-release-single build-release-multi build-release-shared
-clean-default-default: clean-$(TARGETMODE)-$(TARGETTYPE)
+build-debug-all: build-debug-single build-debug-multi build-debug-shared
+
+build-all-single: build-release-single build-debug-single
+
+build-all-multi: build-release-multi build-debug-multi
+
+build-all-shared: build-release-shared build-debug-shared
+
+###################################################
+
+install-all-all: install-release-all install-debug-all
+
+install-release-all: install-release-single install-release-multi install-release-shared
+
+install-debug-all: install-debug-single install-debug-multi install-debug-shared
+
+install-all-single: install-release-single install-debug-single
+
+install-all-multi: install-release-multi install-debug-multi
+
+install-all-shared: install-release-shared install-debug-shared
+
+###################################################
+
+clean-all-all: clean-release-all clean-debug-all
+
+clean-release-all: clean-release-single clean-release-multi clean-release-shared
+
+clean-debug-all: clean-debug-single clean-debug-multi clean-debug-shared
+
+clean-all-single: clean-release-single clean-debug-single
+
+clean-all-multi: clean-release-multi clean-debug-multi
+
+clean-all-shared: clean-release-shared clean-debug-shared
###########################################################
build-release-single: config
- $(MAKE) $(OPTIONS) _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _build_
build-debug-single: config
- $(MAKE) $(OPTIONS) DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _build_
build-release-multi: config
- $(MAKE) $(OPTIONS) THREADED=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
build-debug-multi: config
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _build_
build-release-shared: config
- $(MAKE) $(OPTIONS) SHARED=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _build_
build-debug-shared: config
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _build_
###########################################################
-install-release-single:
- $(MAKE) $(OPTIONS) _install_
+install-release-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _install_
-install-debug-single:
- $(MAKE) $(OPTIONS) DEBUG=1 _install_
+install-debug-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _install_
-install-release-multi:
- $(MAKE) $(OPTIONS) THREADED=1 _install_
+install-release-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _install_
-install-debug-multi:
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _install_
+install-debug-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _install_
-install-release-shared:
- $(MAKE) $(OPTIONS) SHARED=1 _install_
+install-release-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _install_
-install-debug-shared:
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _install_
+install-debug-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _install_
###########################################################
-clean-release-single:
- $(MAKE) $(OPTIONS) _clean_
+clean-release-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _clean_
-clean-debug-single:
- $(MAKE) $(OPTIONS) DEBUG=1 _clean_
+clean-debug-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _clean_
-clean-release-multi:
- $(MAKE) $(OPTIONS) THREADED=1 _clean_
+clean-release-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _clean_
-clean-debug-multi:
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _clean_
+clean-debug-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _clean_
-clean-release-shared:
- $(MAKE) $(OPTIONS) SHARED=1 _clean_
+clean-release-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _clean_
-clean-debug-shared:
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _clean_
+clean-debug-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _clean_
###########################################################