Skip to content
Snippets Groups Projects
Commit 537bdbc6 authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

moved jastadd example to its own Makefile rule in examples/user_types

parent e7b1f0ec
Branches
Tags
No related merge requests found
...@@ -10,7 +10,7 @@ include ${LCDIR}/lib/c/os_compat.mk ...@@ -10,7 +10,7 @@ include ${LCDIR}/lib/c/os_compat.mk
GENDIR=gen GENDIR=gen
.PHONY: all cleanbuild clean distclean build run allall buildcs runwcs .PHONY: all cleanbuild clean distclean build run allall buildcs runwcs runjastadd
all: cleanbuild run all: cleanbuild run
...@@ -72,9 +72,6 @@ run: ...@@ -72,9 +72,6 @@ run:
@java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${GENDIR} Encoder encoded_data_j @java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${GENDIR} Encoder encoded_data_j
@echo "************ running Java TypeDefdecoder: *****************"
java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${LCCJAR}:${GENDIR} TDDecoder encoded_data_j
@echo "************ running Java decoder: *****************" @echo "************ running Java decoder: *****************"
@java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${GENDIR} Decoder encoded_data_j @java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${GENDIR} Decoder encoded_data_j
...@@ -174,6 +171,17 @@ runwcs: build ExampleEncoder.exe ExampleDecoder.exe ...@@ -174,6 +171,17 @@ runwcs: build ExampleEncoder.exe ExampleDecoder.exe
@echo "************ running C# decoder: *****************" @echo "************ running C# decoder: *****************"
@mono ./ExampleDecoder.exe encoded_data_cs @mono ./ExampleDecoder.exe encoded_data_cs
runjastadd: cleanbuild
@echo
@echo "********************************************"
@echo "*** ************ running example with JastAdd unparsing ***"
@echo "********************************************"
@echo
@java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${GENDIR} Encoder encoded_data_j
@echo "************ running Java TypeDefdecoder: *****************"
java -cp .:${LCDIR}/lib/java/labcomm2014.jar:${LCCJAR}:${GENDIR} TDDecoder encoded_data_j
clean: clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment