From 7ebd609b4f4139f4dac8627ac00678de89ef4575 Mon Sep 17 00:00:00 2001 From: Andreas Bogk Date: Thu, 15 Jan 2009 17:17:29 +0100 Subject: Viterbi generator by Piotr Krysik. --- viterbi_generator/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 viterbi_generator/Makefile (limited to 'viterbi_generator/Makefile') diff --git a/viterbi_generator/Makefile b/viterbi_generator/Makefile new file mode 100644 index 0000000..4730a7c --- /dev/null +++ b/viterbi_generator/Makefile @@ -0,0 +1,22 @@ +Lh=4 +CXX=g++ +CFLAGS=-O + +viterbi_detector.c: ./utils/viterbi_generator.m ./utils/lower_utils/equations_gen.m make_function.m + @./make_function.m $(Lh) + +test: tests/test_gen.m tests/test_check.m ./utils/viterbi_generator.m ./utils/lower_utils/equations_gen.m + @./tests/$@_gen.m $(Lh) + @$(CXX) $(LDFLAGS) $(CFLAGS) $@.cpp -o $@ + @./$@ > $@_result +# @less $@_result +# @rm $@.c + @rm $@ + @./tests/$@_check.m $(Lh) + @rm $@_result + + +clean: + rm -f *.o + rm -f *.c + rm *~ -- cgit v1.2.3