.SUFFIXES: .cxx .c .lo .o .obj

.cxx.o:
	g++ -fPIC -I/usr/include/cxx -c $<
.c.o:
	gcc -fPIC -c $<

include babel.make
OBJS = ${IMPLSRCS:.cxx=.o} ${IORSRCS:.c=.o} \
       ${SKELSRCS:.cxx=.o} ${STUBSRCS:.cxx=.o}

libhello.so: ${OBJS}
	g++ -shared -o $@ ${OBJS} -lsidlstub_cxx

clean:
	${RM} *.o libhello.so

