You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
279 B

include Makefile.conf
YML2_FILE=py_module.yml2
CC_FILE=py_module.cc
.PHONY = yml cc
all: yml cc
yml:
$(GEN_CID_DIR)/gen_yml.py $(abspath config.json)
cc : $(YML2_FILE)
$(YML2_PROC) -y $(GEN_CID_DIR)/gen_cc.ysl2 $(YML2_FILE)
clean:
rm -f $(YML2_FILE)
rm -f $(CC_FILE)