If you have obtained the source code distribution of libSRES, then at
your Linux or UNIX command prompt, unpack the distribution,
cd into the directory created as a result (e.g., libSRES/), and change settings in "Makefile" according to your system (see Figure 3).
Next, compile the libSRES library using the following command:
The library will be put in sub-directory "lib"
with file name
"libsres.a". And then cd into the
sub-directory "example"
to compile the examples using the following command:
Note that you may also have to change some settings
in this "Makefile" for example programs. Finally, you may
test the examples using command like this:
It will print output on screen. These will be described
in detail in the following sections. There are thirteen example
programs in total, just as those describe in
Runarsson and Yao's work
.