Thanks that worked,
I understood all but, can you explain the:
LINKFLAGS on RunMe = -L $(TOP)/shared ;
Below...
<snip...>
BTW: I've gotten rid of things that aren't relevant to this
particular thing,
like the header stuff -- oh, and I've used the -L flag to
point to where s.a
lives (I didn't bother to make it libs.a...I was feeling
lazy :)
<snip...>
# Jamfile for test
# Note: Put this first so SubDir will still get set
correctly
if ! $(S_INCLUDED) {
SubInclude TOP shared ;
}
SubDir TOP test ;
Main RunMe : main.c ;
LINKFLAGS on RunMe = -L $(TOP)/shared ;
LinkLibraries RunMe : s ;
<snip...>