summaryrefslogtreecommitdiff
path: root/viterbi_generator/Makefile
blob: 4730a7ce4fa6c58f089cd5fb64bcf67173ddfb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 *~
personal git repositories of Harald Welte. Your mileage may vary