SIMPL Examples Source Installation Instructions
This source code is completely self contained. It will not pollute your
source tree.
An assumption is made that you have already downloaded and installed
the latest SIMPL code.
Step 1: Download
the source tar.gz file to your system if you have not already done so (~6k)
Step 2:To undo the gzip'd tar file simply perform the following steps:
cd $SIMPL_HOME
cd .. (yes that's up one level from $SIMPL_HOME)
<place the simpleg.tar.gz here>
tar -zxvf simpleg.tar.gz
This will create an $SIMPL_HOME/examples tree and place all of the source
for the examples in there.
NOTE: Before doing more you may want to read the various bits of documentation
starting with: $SIMPL_HOME/examples/readme
That will lead you to all the other readme files.
Step 3: Build the code
Choose the example you wish to build. ie. logmasker
cd $SIMPL_HOME/examples/logmasker/src
make clobber
make install
This will create executables and move them to $SIMPL_HOME/examples/bin.
Step 4: Run the example.
Follow the instructions contained in the examples/<whatever>/src/readme
file.
Step 5: Have fun with the stuff.
While these code snips are meant to be illustrative, they can form
the basis of some very powerful applications in their own right.
If you have any problems, comments or suggestions for improvement don't
hesitate to contact the mailing
list.
The code is organized such that all the individual directories
come with their own Makefile. You can execute localized builds by typing:
make clobber - will remove all .o's and binaries in preparation for
a complete rebuild
make - will perform a build and leave the executable in the local ../bin
directory
or
make install - will do everything that "make" does but also copy the
executable to $SIMPL_HOME/examples/bin
Each of the examples directories are organized in the same simple manner
src - contains all the .c, the Makefile and the readme instructions
include - contains all the .h
NOTE:
As with most things it represents a "work in progress". Contributions
are welcome.
back to main SIMPL page
This project is being coordinated by FC software Inc.