July 2001
Intermediate to advanced
656 pages
14h 22m
English
Listing 7.19 is the file used to compile this program. If you get it from the companion Web site, it will be called build.sh. To compile, at the command line send
% ./build.sh
01 clear 02 03 gcc -Wall -g -o sesi_order.exe callbacks.c interface.c \ 04 support.c main.c sesi_utils.c \ 05 `gtk-config --cflags --libs` \ 06 -I/usr/include/mysql \ 07 -L/usr/lib/mysql -lmysqlclient -lm -lz |
Line 1 simply clears the screen; this makes it more readable if any compile errors occur. Lines 3 and 4 are the compile commands and the target files; the backslash character (\) is the line-continuation character.
Line 5 sets the GTK+ flags and ...