--- robcast/Makefile.orig Wed Oct 15 18:03:36 2003 +++ robcast/Makefile Wed Oct 15 17:33:36 2003 @@ -29,6 +29,16 @@ LIBRARIES = -lc -lm -lsocket -lnsl -L/usr/ucblib -lucb -lposix4 -lpthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a endif +ifeq (${OS},freebsd) + # FreeBSD version + # MCL library requires -pthread + # + BINDIR = ../bin/freebsd + LDPC_BINDIR = ../../ldpc/bin/freebsd + LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a + #LIBRARIES = -lm -pthread ${BINDIR}/libmclalc.a ${LDPC_BINDIR}/libldpc.a +endif + ###### Other variables ######