X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2FMakefile;h=f23f838ca8789907a6fdee1e5ba9e3ca55b05c0f;hb=a41c6f5f26b3a44009f4aff3df3f83b9a79ace01;hp=20d461e029c4cf8026c479d6a56d17d08c7c9e46;hpb=fd9cc7a5b3355146388ebdf4d558cb284c66c5f1;p=ric-plt%2Flib%2Frmr.git diff --git a/test/Makefile b/test/Makefile index 20d461e..f23f838 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,18 +3,28 @@ CC = gcc coverage_opts = -ftest-coverage -fprofile-arcs -libs = ../build/librmr_nng.a -L ../build/lib -lnng -lpthread -lm +#libs = ../build/librmr_nng.a -L ../build/lib -lnng -lpthread -lm +libs = -L ../build/lib -lnng -lpthread -lm + +#sa_tests = sa_tools_test.o %.o:: %.c $(CC) -g $< -c %:: %.c - $(CC) $(coverage_opts) -fPIC -g $< -o $@ $(libs) + $(CC) -I ../src/common/src/ -I ../src/common/include -I ../src/nng/include $(coverage_opts) -fPIC -g $< -o $@ $(libs) # catch all all: echo "run unit_test.ksh to make and run things here" + +#sa_tools_test.o: sa_tools_test.c +# $(CC) -I ../src/common/src/ -I ../src/common/include -I $(coverage_opts) ../src/nng/include -fPIC -g $< -c + +#.PHONY: sa_tests +#sa_tests: $(sa_tests) + # remove intermediates clean: rm -f *.gcov *.gcda *.dcov *.gcno