-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://web.barrett.com/svn/btclient/trunk@379 3eb8b4e9-0710-d544-b5f2-d3973d62577e
- Loading branch information
bz
committed
Oct 4, 2007
1 parent
5316104
commit b58ba90
Showing
9 changed files
with
307 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
This directory is for documentation. | ||
|
||
(This file is really so tar won't optimize out this directory) | ||
To generate the source code documentation, use doxygen: | ||
http://www.stack.nl/~dimitri/doxygen/ | ||
|
||
If you want doxygen to generate nifty code-relationship visual | ||
graphs (optional), install graphviz: | ||
http://www.graphviz.org/ | ||
|
||
Point doxygen to the ../src/config.dox and let it run! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This is the 'examples' directory. | ||
|
||
Start by reviewing Example 1 (ex1). It documents the basic structure of a WAM | ||
program. Later examples build on ex1's structure, but their comments serve to | ||
highlight the particular features being presented instead of repeating the | ||
description of the program structure. | ||
|
||
Happy coding! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
OBJS = main.o | ||
TARG = ex4 | ||
CC = gcc | ||
PATH_INCLUDE = -I/usr/realtime/include -I../../include | ||
|
||
CFLAGS = -g -DUSE_RTAI31 -static ${PATH_INCLUDE} | ||
#CFLAGS = -g -DUSE_RTAI31 -static ${PATH_INCLUDE} -DBTOLDCONFIG | ||
### Makefile for Barrett Software (examples) | ||
|
||
LDFLAGS = -L/usr/realtime/lib -L/usr/lib -L../../lib -lpthread -llxrt \ | ||
-lncurses -lm -lbtwam -lbtsystem -lntcan | ||
# Be sure to edit config.mk to match your installation | ||
include ../../config.mk | ||
include ../../common.mk | ||
|
||
OBJS = main.o | ||
TARG = ex4 | ||
|
||
# Done with defines, now for the real work | ||
default: ex4 | ||
|
||
ex4: ${OBJS} | ||
$(CC) -o ${TARG} ${OBJS} ${LDFLAGS} | ||
|
||
clean: | ||
clean: | ||
rm *.o ${TARG} | ||
|
||
system: | ||
$(MAKE) -C ../../src/btsystem lib | ||
$(MAKE) -C ../../src/btsystem install | ||
|
||
wam: | ||
$(MAKE) -C ../../src/btwam lib | ||
$(MAKE) -C ../../src/btwam install | ||
|
||
all: system wam ex4 | ||
|
Oops, something went wrong.