Dalla pagina del sito (sezione linux):

http://horstmann.com/ccc/help/ccc3help.html

Programs that use CCC graphics:

g++ -I ~/cccbook/cccfiles -o executable_name source_file ~/cccbook/cccfiles/ccc_x11.cpp ~/cccbook/cccfiles/ccc_shap.cpp -L /usr/X11R6/lib -lX11
The command must be typed on a single line.
For example,
g++ -I ~/cccbook/cccfiles -o phoenix phoenix.cpp ~/cccbook/cccfiles/ccc_x11.cpp ~/cccbook/cccfiles/ccc_shap.cpp -L /usr/X11R6/lib -lX11
Alternatively, you can copy ccc_win.h, ccc_x11.h, ccc_x11.cpp, ccc_shap.h, and ccc_shap.cpp from the ~/cccbook/cccfiles directory into the same directory as the program that uses them, and compile with a simpler command line.
g++ -o executable_name source_file ccc_x11.cpp ccc_shap.cpp -L /usr/X11R6/lib -lX11
For example,

g++ -o phoenix phoenix.cpp ccc_x11.cpp ccc_shap.cpp -L /usr/X11R6/lib -lX11
For the "ASCII art" version of the graphics library, use

g++ -D CCC_ASC -I ~/cccbook/cccfiles -o executable_name source_file ~/cccbook/cccfiles/ccc_asc.cpp ~/cccbook/cccfiles/ccc_shap.cpp
For example,
g++ -D CCC_ASC -I ~/cccbook/cccfiles -o phoenix phoenix.cpp ~/cccbook/cccfiles/ccc_asc.cpp ~/cccbook/cccfiles/ccc_shap.cpp
For the wxWindows version of the graphics library, use

gcc -o executable_name -DCCC_WXW -I ~/cccbook/cccfiles `wx-config --cflags` source_file ~/cccbook/cccfiles/ccc_x11.cpp ~/cccbook/cccfiles/ccc_shap.cpp `wx-config --libs`
For example,
gcc -o phoenix -DCCC_WXW -I ~/cccbook/cccfiles `wx-config --cflags` phoenix.cpp ~/cccbook/cccfiles/ccc_x11.cpp ~/cccbook/cccfiles/ccc_shap.cpp `wx-config --libs`