plcopen/Makefile
branch1.1 Korean release
changeset 1384 02fe382c4511
parent 1353 fc7aab64589b
child 1936 b85b13b1c2ec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plcopen/Makefile	Mon Nov 18 12:12:31 2013 +0900
@@ -0,0 +1,15 @@
+#! 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)
\ No newline at end of file