libraries for djgpp

I’m taking up opengl-programming, but my first problem is quite embarrassing…
I can’t find the correct library files anywhere…
I have searched a load of homepages to no avail, and I have searched this forum too, but I found nothing…
I’m using the latest DJGPP version, tried out “pot” and found it interesting.
I have the headerfiles in the include/GL dir.
there’s 17 files, among them gl.h, glu.h and glut.h (I think it’s all I need)
Before i copied them, my errormessages said:
test.c:2: GL/glut.h: No such file or directory (ENOENT)
So I added them and got a whole load of the messages
e:/djgpp/tmp\ccBKjSNd.o(.text+0xf):test.c: undefined reference to `glClear’
instead, which I interpret as the libraries are missing. Right?
I have tried loads of different combinations with all files I could find in my filestructure, but none worked, so I started searching the internet, and here I am.
Where do I find the libraries for djgpp and where do they go?