#*********************************************#
#* Fichero Makefile.                         *#
#* ----------------------------------------- *#
#* Licencia GPL. Rafael Trevio              *#
#*********************************************#

##-- Definiciones
LIB = drawstuff.so
DIR = drawstuff
LIBSRC = drawstuff.cpp drawstuff.h version.h internal.h x11.cpp

##-- Objetivos

all: $(LIB)

$(LIB): $(LIBSRC)
	./setup.py build
	cp build/lib.linux-i686-2.?/drawstuff.so .

clean:
	rm -rf build $(LIB) *~
