How do I run c CAT_MBA examples with a single file?
kazi-m22 opened this issue · 0 comments
kazi-m22 commented
While compiling the example codes (e.g. association_app.c), it is done in two steps in the Makefile (in short):
- cc -I../../../lib -fPIE -c -o association_app.o association_app.c
- cc -L../../../lib -lpqos association_app.o -o association_app
I want to get rid of the intermediate association_app.o relocatable file and compile it like a single c code. For doing so, i tried getting rid of -c flag but it does not find the libraries needed. I want to find a solution which can compile it in single step. How can I do that?