mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-devtest
synced 2026-01-15 10:23:32 +01:00
- Streamline proj.mk over all projects a little
- Turn the string "jw-build" into a variable which can be overridden from the
environment.
- Add support for JWBDIR_SEARCH_PATH, also overridable from the environment.
Signed-off-by: Jan Lindemann <jan@janware.com>
12 lines
476 B
Makefile
12 lines
476 B
Makefile
# To be included from inside the project directory
|
|
|
|
# -- Find JWBDIR
|
|
DEV_PROJECTS_DIR ?= $(TOPDIR)/..
|
|
JWBDIR_NAME ?= jw-build
|
|
JWBDIR_SEARCH_PATH ?= $(DEV_PROJECTS_DIR) $(BUILD_TOOLS_PREFIX)/opt/$(FLAVOUR_PATH_PREFIX)
|
|
JWBDIR ?= $(firstword $(wildcard $(addsuffix /$(JWBDIR_NAME),$(JWBDIR_SEARCH_PATH))))
|
|
|
|
include $(JWBDIR)/make/projects.mk
|
|
|
|
USE_PROJECT_LIB = false
|
|
HDRDIR_SCOPE_SUFFIX = $(PROJECT)
|