Building the Redbook OpenGL 1.1 sample code on Linux and OS X Tiger
The second edition of the "redbook" was a guide to OpenGL 1.1, and is now available for free online: https://www.glprogramming.com/red/
This book included sample code, which is still available as a zip file here: https://www.opengl.org/archives/resources/code/samples/redbook/
However, the samples don't build out-of-the-box on Mac, due to Apple's non-standard header file paths. Additionally, the Makefile needs a bit of massaging.
I tweaked the include statements and Makefiles and have all of these demos building on Mac OS X Tiger (10.4, PowerPC) as well as Debian Buster. See the patch file below.
To use this patch, download the zip file and the patch, then:
patch -p1 ../redbook.patch
To build on Linux,
make -f Makefile.linux. For OS X,
make -f Makefile.mac.
p.s. see also this free textbook which covers OpenGL 1.1!