From 71664f2d329f86a05e9371825803ae0a9a0fb985 Mon Sep 17 00:00:00 2001
From: Sven Gestegard Robertz <sven.robertz@cs.lth.se>
Date: Sat, 15 Feb 2014 20:33:55 +0100
Subject: [PATCH] added generation pure 2013 library

---
 examples/simple/compile.sh | 4 ++--
 lib/c/Makefile             | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/simple/compile.sh b/examples/simple/compile.sh
index cb3ad5f..f0a885a 100644
--- a/examples/simple/compile.sh
+++ b/examples/simple/compile.sh
@@ -11,10 +11,10 @@ javac -cp ../../lib/java:. gen/*.java Encoder.java Decoder.java
 
 gcc -Wall -Werror -I. -I../../lib/c -L../../lib/c \
     -o example_encoder example_encoder.c gen/simple.c \
-    -llabcomm -Tlabcomm.linkscript
+    -llabcomm2013 -Tlabcomm.linkscript
 gcc -Wall -Werror -I . -I ../../lib/c -L../../lib/c \
     -o example_decoder example_decoder.c gen/simple.c \
-    -llabcomm -Tlabcomm.linkscript
+    -llabcomm2013 -Tlabcomm.linkscript
 
 # For version 2006
 
diff --git a/lib/c/Makefile b/lib/c/Makefile
index 9ca4911..21aa340 100644
--- a/lib/c/Makefile
+++ b/lib/c/Makefile
@@ -69,7 +69,7 @@ endif
 
 .PHONY: all run-test clean distclean
 
-all: liblabcomm.a liblabcomm.so.1 liblabcomm2006.a liblabcomm2006.so.1
+all: liblabcomm.a liblabcomm.so.1 liblabcomm2006.a liblabcomm2006.so.1  liblabcomm2013.a liblabcomm2013.so.1
 
 liblabcomm.a: $(OBJS) $(OBJS2006)
 	ar -r $@ $^
-- 
GitLab