X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2FMakefile;h=db4655a8678cacb90cddc662f65a83c515ec557e;hb=f89eec503272760b0a323c342c76eb013fcf795a;hp=d6c2c64164f4079651abc4002124f5b60e5fb338;hpb=5efb1e608cf966752c02b676d6fae09f951f71e9;p=ric-plt%2Flib%2Frmr.git diff --git a/test/Makefile b/test/Makefile index d6c2c64..db4655a 100644 --- a/test/Makefile +++ b/test/Makefile @@ -24,6 +24,7 @@ coverage_opts = -ftest-coverage -fprofile-arcs #libs = ../build/librmr_nng.a -L ../build/lib -lnng -lpthread -lm libs = -L ../build/lib -lnng -lpthread -lm +ipaths = -I ../src/rmr/common/src/ -I ../src/rmr/common/include -I ../src/rmr/nng/include/ -I ../src/rmr/nng/src/ -I ../src/rmr/nanomsg/include/ -I ../src/rmr/nanomsg/src/ #sa_tests = sa_tools_test.o @@ -31,7 +32,7 @@ libs = -L ../build/lib -lnng -lpthread -lm $(CC) -g $< -c %:: %.c - $(CC) -I ../src/common/src/ -I ../src/common/include -I ../src/nng/include -I ../src/nanomsg/include $(coverage_opts) -fPIC -g $< -o $@ $(libs) + $(CC) $(ipaths) $(coverage_opts) -fPIC -g $< -o $@ $(libs) # catch all all: