aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ladder_to_msc.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ladder_to_msc.makefile')
-rw-r--r--contrib/ladder_to_msc.makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/ladder_to_msc.makefile b/contrib/ladder_to_msc.makefile
new file mode 100644
index 00000000..80031b25
--- /dev/null
+++ b/contrib/ladder_to_msc.makefile
@@ -0,0 +1,10 @@
+png: \
+ ladder_to_msc_test.png \
+ $(NULL)
+
+%.png: %.msc
+ mscgen -T png -o $@ $<
+
+%.msc: %.ladder
+ which ladder_to_msc.py || (echo 'PLEASE POINT YOUR $$PATH AT libosmocore/contrib/ladder_to_msc.py' && false)
+ ladder_to_msc.py -i $< -o $@