Compiling a C program

Hello, Sorry about what might be a stupid question.
I am trying to write some C code (I am from Win32) in Ubuntu.
$ cc container.c (contains a call to lxc_container_new). Compiles okey, but I can’t figure out how to link lxc libraries. Can someone please help?

gcc container.c -llxc assuming you have liblxc-dev installed should work.

Thanks Stéphane. It compiles and runs [ errors out, but let me try to debug that ].