From 96af462983a0d09ceb3afac49e793083f0bb65f9 Mon Sep 17 00:00:00 2001
From: Sven Gestegard Robertz <sven.robertz@cs.lth.se>
Date: Thu, 2 Jul 2015 10:06:30 +0200
Subject: [PATCH] added python handler example to makefile

---
 examples/user_types/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/examples/user_types/Makefile b/examples/user_types/Makefile
index 3110950..b9b5150 100644
--- a/examples/user_types/Makefile
+++ b/examples/user_types/Makefile
@@ -80,6 +80,9 @@ run:
 	@echo "************ running python decoder (from wiki_example):"
 	@PYTHONPATH=${LCDIR}/lib/python ../wiki_example/example_decoder.py encoded_data_j LabComm2014.v1
 
+	@echo "************ running python decoder (with handlers):"
+	@PYTHONPATH=${LCDIR}/lib/python:gen:. ./example_handlers.py encoded_data_j LabComm2014.v1
+
 	@echo "************ running C encoder: *****************"
 	@LD_LIBRARY_PATH=${LCDIR}/lib/c/ ./example_encoder encoded_data_c
 
@@ -92,6 +95,9 @@ run:
 	@echo "************ running python decoder (from wiki_example):"
 	@PYTHONPATH=${LCDIR}/lib/python ../wiki_example/example_decoder.py encoded_data_c LabComm2014.v1
 
+	@echo "************ running python decoder (with handlers):"
+	@PYTHONPATH=${LCDIR}/lib/python:gen:. ./example_handlers.py encoded_data_j LabComm2014.v1
+
 	@echo "************ running python encoder: *****************"
 	@PYTHONPATH=${LCDIR}/lib/python:${GENDIR} ./example_encoder.py encoded_data_p LabComm2014.v1
 
@@ -104,6 +110,10 @@ run:
 	@echo "************ running python decoder (from wiki_example):"
 	PYTHONPATH=${LCDIR}/lib/python ../wiki_example/example_decoder.py encoded_data_p LabComm2014.v1
 
+	@echo "************ running python decoder (with handlers):"
+	@PYTHONPATH=${LCDIR}/lib/python:gen:. ./example_handlers.py encoded_data_j LabComm2014.v1
+
+
 runwcs: build ExampleEncoder.exe ExampleDecoder.exe
 	@echo
 	@echo "********************************************"
-- 
GitLab