Initial commit of RMR Library
[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
8 %.o:: %.c
9         $(CC) -g $< -c 
10
11 %:: %.c
12         $(CC) $(coverage_opts) -fPIC -g $< -o $@  $(libs)
13
14 # catch all 
15 all:
16         echo "run unit_test.ksh to make and run things here"
17
18 # remove intermediates
19 clean:
20         rm -f *.gcov *.gcda *.dcov *.gcno
21
22 # remove anything that can be builts
23 nuke: clean
24         rm -f ring_test symtab_test