#*********************************************# #* Fichero Makefile. *# #* ----------------------------------------- *# #* Licencia GPL. Rafael Treviņo *# #*********************************************# ##-- Definiciones LIB = drawstuff.so LIBSRC = drawstuff.cpp drawstuff.h x11.cpp version.h internal.h y1module.c SETUP = setup.py ##-- Objetivos all: $(LIB) $(LIB): $(LIBSRC) $(SETUP) python $(SETUP) build mv build/lib.*/$(LIB) . clean: rm -rf build/temp.*/x11.o build/temp.*/drawstuff.o $(LIB) *~ *.pyc