feat(routing): Support session based routing
[ric-plt/lib/rmr.git] / test / Makefile
1
2
3 CC = gcc
4 coverage_opts = -ftest-coverage -fprofile-arcs
5
6 #libs = ../build/librmr_nng.a -L ../build/lib -lnng -lpthread -lm
7 libs =  -L ../build/lib -lnng -lpthread -lm
8
9 #sa_tests = sa_tools_test.o
10
11 %.o:: %.c
12         $(CC) -g $< -c 
13
14 %:: %.c
15         $(CC) -I ../src/common/src/ -I ../src/common/include -I ../src/nng/include $(coverage_opts) -fPIC -g $< -o $@  $(libs)
16
17 # catch all 
18 all:
19         echo "run unit_test.ksh to make and run things here"
20
21
22 #sa_tools_test.o: sa_tools_test.c
23 #       $(CC) -I ../src/common/src/ -I ../src/common/include -I $(coverage_opts) ../src/nng/include  -fPIC -g $< -c 
24
25 #.PHONY: sa_tests
26 #sa_tests:      $(sa_tests)
27
28 # remove intermediates
29 clean:
30         rm -f *.gcov *.gcda *.dcov *.gcno
31
32 # remove anything that can be builts
33 nuke: clean
34         rm -f ring_test symtab_test