The top level directory structure of the adevs library looks like this
adevs-x.x |->docs |->examples |->include |->src |->test |->util
The include directory contains a file adevs_config.h. This file contains configuration settings that describe the basic model I/O type,
the basic time type and its parameters (i.e. epsilon, infinity, and zero), and the basic port type. By default, these are object* for the I/O type, double for the time type with ZERO = 0.0, EPSILON=1e-14, and INFINITY=DBL_MAX, and int for the port type. These can be altered as needed so long as the types support the necessary operators (see the default adevs_config.h file for more information).
Having edited the adevs_config.h file to taste, cd to the src directory. Edit the Makefile there to set the appropriate compiler options and then enter 'make' to build the library. If all goes well, the static library libadevs.a will be placed in the src directory. To clean up the 'make clean'. This will remove the library and all object files. To clean up and restore the default configuration settings, use 'make new'.
The adevs test suite can be run by cd'ing to the test directory and, after editing the Makefile there to set the appropriate compiler options, using 'make check'. If the test suite runs without stopping and reporting a make error, the test was successful. Make will abort with an error if any test fails. Use 'make clean' to remove object files, executables, and other temporary files created by the test process.
When building your simulation programs, they must be linked with the libadevs.a static library placed in the src directory during the build process. The header files necessary for using the adevs library are located in the include directory. It should be sufficient to include just <adevs.h> in your program. Exceptions include the performance timers located in <perf_timer.h> and some fixes for the GNU profiler that you probably don't care about (unless you're using my broken g++ compiler).