Adding 3rd party C/C++ libraries to clang's path permanently

homebrew for m1 Macs installs C/C++ libraries under /opt/homebrew/include and /opt/homebrew/lib - which are not recognized by clang on m1 macs.

I tried exporting CFLAGS as an environment variable as follows:
export CFLAGS=-I/opt/homebrew/include to make clang see 3rd party libraries.

clang still doesn't recognize the path. So what's the solution?