plcopen/Makefile
changeset 1353 fc7aab64589b
child 1936 b85b13b1c2ec
equal deleted inserted replaced
1352:9ec4ac8e2955 1353:fc7aab64589b
       
     1 #! gmake
       
     2 
       
     3 yml := ../../yml2
       
     4 ysl2files := $(wildcard *.ysl2)
       
     5 xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
       
     6 
       
     7 all:$(xsltfiles)
       
     8 
       
     9 %.xslt: %.ysl2
       
    10 	$(yml)/yml2c -I $(yml) $< -o $@.tmp
       
    11 	xmlstarlet fo $@.tmp > $@
       
    12 	rm $@.tmp
       
    13 	
       
    14 clean:
       
    15 	rm -f $(xsltfiles)