#  Makefile for public portion of the POSIX pthreads API

include ../Rules.runtime
CFLAGS     += -I${INCDIR} -I${INCDIR}/dce

EXC_LINKS  = ${LIBDIR}/${UTILS_LIBNAME} ${LIBDIR}/${EXC_LIBNAME} \
             ${LIBDIR}/${D4_LIBNAME} ${LIBDIR}/${LIBNAME}

LINKS  = ${LIBDIR}/${UTILS_LIBNAME} ${LIBDIR}/${LIBNAME}

all: sig exc

exc: exc_test.c
	${CC} ${CFLAGS} -D_DCE_COMPAT_ exc_test.c ${EXC_LINKS} -o exc

sig: sig.c ${LINKS}
	${CC} ${CFLAGS} sig.c ${LINKS} -o sig

clean:
	rm -f *.o *.bak *.rem exc sig *~
