e0f84ea34d69851ff4cb273e282cd205a701e3a2
[mes.git] / make / mescc-guile.make
1 CLEAN+=$(OUT)/$(TARGET)
2 $(OUT)/$(TARGET): C_INCLUDE_PATH:=$(INCLUDES)
3 $(OUT)/$(TARGET): $(MAKEFILE_LIST)
4 $(OUT)/$(TARGET): $(INSTALL_GO_FILES)
5 $(OUT)/$(TARGET): $(C_FILES)
6         @echo " mescc.scm       $(notdir $<) -> $(notdir $@)"
7         @rm -f $@
8         $(QUIET) guile/mescc.scm $(C_INCLUDE_PATH:%=-I %) -o $@ $< || rm -f $@
9         @[ -f $@ ] && chmod +x $@ ||:
10 include make/reset.make