Create an empty directory and copy the relevant Makefile to it. The two versions (OpenModel and OpenAlias), are in $(ALIAS_LOCATION)/ODS/OpenModel/examples or in $(ALIAS_LOCATION)/ODS/OpenAlias/examples.
This will copy all the source code for the examples to the current directory. Then type make to compile all the examples. (Note that this assumes that Alias is installed in the default location, if it is not, ALIAS_LOCATION must be set in the Makefile or in the environment as described above.)