Error compiling C code that runs Julia code

My Julia folder is /home/nxf93431/julia-1.8.1/ and I write the following main.c file in C:

#include <julia.h>
JULIA_DEFINE_FAST_TLS

int main(int argc, char *argv[]) {
  jl_init();
  jl_eval_string("print(sqrt(2.))");
  jl_atexit_hook(0);
  return 0;
}

Then I try to compile as follows:

gcc -o main -fPIC -I$/home/nxf93431/julia-1.8.1/include/julia -L$/home/nxf93431/julia-1.8.1/lib -Wl,-rpath,$/home/nxf93431/julia-1.8.1/lib main.c -ljulia

but unfortunately, I get a compilation error that says “fatal error: julia.h: No such file or directory”.
I do not understand why I get this error since I specify the path in my compilation line.

I think the ‘$’ characters are too much here: Either use

-I$HOME/julia-1.8.1/include/julia

or the expansion of the ‘$HOME’ shell variable

-I/home/nxf93431/julia-1.8.1/include/julia