

LIBTOOL = libtool
CC = $(LIBTOOL) --mode=compile gcc -g -O -c
LIBPATH=/usr/local/lib
LINKLIB = $(LIBTOOL) --mode=link gcc -g -O -rpath $(LIBPATH) -o 

mux:	mux.o
	$(LINKLIB) libmux.la mux.lo
	cp .libs/libmux.so* ./

clean:
	rm -f libmux.*
	rm -rf .libs
	rm -f *~
	rm -f *.fasl
	rm -f mux.o mux.lo
