68eaab0f43
Speeds up a no-op build from 500ms to 60ms and significantly improves dependency tracking.
15 lines
326 B
Makefile
15 lines
326 B
Makefile
include $(dir $(lastword $(MAKEFILE_LIST)))../../header.mk
|
|
|
|
LUAJIT_DIR := $(abspath $(d)src)
|
|
|
|
$(LIBS_LUA): $(LUAJIT_DIR)/host/minilua
|
|
$(MAKE) -C $(LUAJIT_DIR) amalg
|
|
|
|
$(LUAJIT_DIR)/host/minilua:
|
|
$(MAKE) -C $(LUAJIT_DIR) host/minilua
|
|
|
|
clean-luajit:
|
|
$(MAKE) -C $(LUAJIT_DIR) clean
|
|
|
|
clean: clean-luajit
|
|
distclean: clean-luajit
|