about use zlib in cuda

I want to use zlib library in my CUDA application
Can I use libz.a in zlib in my code, how to do makefile, or how to include the library ? :confused:

You can use any libraries, but it will not be running usually on GPU of course.
Just compile and link it.

For include one uses usually #include directive in C++.
To link with library use appropriate options for your linker.