2017-04-12 19:27:59 +00:00
|
|
|
CLEAN+=$(OUT)/$(TARGET)
|
|
|
|
ifneq ($(MES_MAX_ARENA),)
|
|
|
|
$(OUT)/$(TARGET): MES_MAX_ARENA-flag:=MES_MAX_ARENA=$(MES_MAX_ARENA)
|
|
|
|
endif
|
2017-05-17 11:56:25 +00:00
|
|
|
$(OUT)/$(TARGET): C_INCLUDE_PATH:=$(INCLUDES)
|
2017-04-12 19:27:59 +00:00
|
|
|
$(OUT)/$(TARGET): $(MAKEFILE_LIST)
|
|
|
|
$(OUT)/$(TARGET): module/mes/read-0.mo
|
|
|
|
$(OUT)/$(TARGET): module/mes/read-0-32.mo
|
|
|
|
$(OUT)/$(TARGET): $(INSTALL_MES_FILES)
|
|
|
|
$(OUT)/$(TARGET): scripts/mes
|
|
|
|
$(OUT)/$(TARGET): $(C_FILES)
|
|
|
|
@echo " mescc.mes $(notdir $<) -> $(notdir $@)"
|
|
|
|
@rm -f $@
|
2017-05-17 11:56:25 +00:00
|
|
|
$(QUIET)MES_DEBUG=$(MES_DEBUG) $(MES_MAX_ARENA-flag) MES_FLAGS=--load scripts/mescc.mes $(C_INCLUDE_PATH:%=-I %) -o $@ $< || rm -f $@
|
2017-04-12 19:27:59 +00:00
|
|
|
@[ -f $@ ] && chmod +x $@ ||:
|
|
|
|
include make/reset.make
|