A pkg-config file is provided for AOCL-LAPACK on Linux. You can use the following command to get the required flags for compiling and linking with AOCL-LAPACK:
$ pkg-config --cflags --libs --static flame
Note: The pkg-config file has dependency on AOCL-Utils and AOCL-BLAS packages. Ensure that the pkg-config files for AOCL-Utils and AOCL-BLAS are available in the PKG_CONFIG_PATH environment variable.