Demos

Building the Demos

You may build the demos by hand, or you may use the following commands to build Makefiles for the demos:

1. Go to the top of the demos source tree, or to the tree you created for a copy.
% cd demos
If you installed the EnhancementPak in a non-standard location, or if you did not create links from the installation to a standard location, you may need to edit the file /tmp/demos/demos.cf. See this file for details about the modification.
Generate all the Makefiles.
% xmkmf
% make Makefiles
Build the demo tree:
% make
If you do not want to build all the demos, you may build them individually. For example, to build the Button Box demo, enter:
% cd ButtonBox
% make

For further information on Imakefiles, see the X11R5 man pages and documentation on imake.