.PHONY: host host-native docs clean \ unit-tests integration-tests # === GENERAL PARAMETERS ========================================================================== SHELL = /bin/bash MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) GRADLE_HOME ?= $(MAKEFILE_DIR)/../.gradle/ GRADLE ?= $(MAKEFILE_DIR)/../gradlew -g $(GRADLE_HOME) # === PSEUDO TARGETS ============================================================================== host: $(GRADLE) compileKotlin host-native: make -C native all docs: $(GRADLE) cleanDokka dokka unit-tests: $(GRADLE) --rerun-tasks -q -Pdebug=$(DEBUG) test integration-tests: $(GRADLE) --rerun-tasks -q -Pdebug=$(DEBUG) integrationTest clean: $(GRADLE) clean