PROG=	foo
OBJS=	foo.o
LIBS=	-lpthread -ldl

all:	${PROG}

clean:
	rm -f ${OBJS} ${PROG}

${PROG}: ${OBJS}
	${CC} -o $@ $< ${LIBS}
