====================
PKC_OBJS= foo.o bar.o util.o
CFLAGS= -O
ALL_CFLAGS= ${INCLUDES} ${DEFS} ${CFLAGS}
LD= ld
LDFLAGS= -r
pubkeymodule.o: pubkeymodule.c
${CC} ${ALL_CFLAGS} -c pubkeymodule.c
pubkey.o: pubkeymodule.o
${LD} ${LDFLAGS} ${PKC_OBJS} pubkeymodule.o -o $@
====================
On a NeXT, the search order for a dynamically loaded module `blah' is
blah.o
blahmodule.o
I've been tempted to change this to include `blah.so' &
`blahmodule.so' so Sun and NeXT targets are the same.
michael