I've included the header file which contains the library function declarations and the path to the library as you can see below:
Code: Select all
CFLAGS = "-I/home/joao/armageddon/libflush/libflush";
LIBS = "-lflush";
LDFLAGS = "-L/home/joao/armageddon/libflush/build/armv8/release";
When i try to compile a linux code that uses the library functions using the following command:
Code: Select all
aarch64-linux-gnu-gcc linux_code.c -L/home/joao/armageddon/libflush/build/armv8/release -lflush -o linux_code.o