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.
21 lines
414 B
21 lines
414 B
# TODO:
|
|
# Incremental compilation impossible without redundantly specifying
|
|
# files that will be generated in the makefile
|
|
|
|
|
|
TARGET_XML+=prototype_api.xml
|
|
|
|
.PHONY: all yml clean
|
|
|
|
all: c_interface $(TARGET_XML)
|
|
|
|
c_interface:
|
|
YML_PATH=../pEp_idl yml2proc -y ../pEp_idl/gen_c_header.ysl2 prototype_api.yml2
|
|
|
|
xml: $(TARGET_XML)
|
|
|
|
%.xml: %.yml2
|
|
YML_PATH=../pEp_idl yml2proc -P $< -o $@
|
|
|
|
clean:
|
|
rm -f *.xml *.xsl *.h
|
|
|