#!/bin/bash
# dev/tool/make - make tool support

set -e


######
# Native Dependencies

dev_tool_make_client_packages=( make )


######
# Library Configuration

dev_tool_make_config_init() {
	lib_setting_vars make_jobs

	dev_tool_make_config_check
}

dev_tool_make_config_check() {
	make_jobs=${make_jobs:-6}
}


######
# Public Interface

make_run() {
	local -a opts=()
	! $quiet || opts+=( --quiet )
	opts+=( -j $make_jobs )
	run make "${opts[@]}" "$@"
}

View the Developer Guide Index

View the Reference Manual Index


Generated on Tue Jul 4 17:00:41 PDT 2017 by mcsh d14 v0.21.0.