plcopen/Makefile
author Edouard Tisserant
Fri, 13 Mar 2015 22:36:52 +0100
changeset 1457 ff7cfce737ca
parent 1353 fc7aab64589b
child 1936 b85b13b1c2ec
permissions -rw-r--r--
Added PLCID variable accessible from C side, set with binarie's MD5. Added retain init and cleanup calls. Extended tests/python to test PLCID
#! gmake

yml := ../../yml2
ysl2files := $(wildcard *.ysl2)
xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))

all:$(xsltfiles)

%.xslt: %.ysl2
	$(yml)/yml2c -I $(yml) $< -o $@.tmp
	xmlstarlet fo $@.tmp > $@
	rm $@.tmp
	
clean:
	rm -f $(xsltfiles)