blob: bc38c8487dff8aa37e97e132e8082026c24fed44 [file] [log] [blame]
# the above include may override LKROOT and LKINC to allow external
# directories to be included in the build
-include lk_inc.mk
LKROOT ?= .
LKINC ?=
LKINC := $(LKROOT) $(LKINC)
# vaneer makefile that calls into the engine with lk as the build root
# if we're the top level invocation, call ourselves with additional args
$(MAKECMDGOALS) _top:
LKROOT=$(LKROOT) LKINC="$(LKINC)" $(MAKE) -rR -f $(LKROOT)/engine.mk $(addprefix -I,$(LKINC)) $(MAKECMDGOALS)
.PHONY: _top