diff --git a/examples/simple/compile.sh b/examples/simple/compile.sh index cb3ad5f75a95d69ddaf0b6cfb968a9ef886c6d93..f0a885a871c7e648bd2bb7b11589fb04b367d038 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 9ca491135c06e777591f801a9e8eb8098b9a6157..21aa3402be7d797b914f0957af33eec8f96f2f09 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 $@ $^