plcopen/Makefile
author Surkov Sergey <surkovsv93@gmail.com>
Fri, 27 Jan 2017 16:53:04 +0300
changeset 1647 13d15a1ae899
parent 1353 fc7aab64589b
child 1936 b85b13b1c2ec
permissions -rw-r--r--
broken code is temporarily blocked
This code used to highlight with green color text in upper-left corner (path to current instance) in debug mode, if current instance active. Only SFC actions are affected. #16
#! 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)