makefile 276 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

all: install_spammodule

build_spammodule: setup.py spammodule.c
	python setup.py build

install_spammodule: setup.py spammodule.c
	mkdir -p ../local
	python setup.py install --prefix=../local

clean:
	@rm -f *.so *.c *.mod *~

distclean:
	@rm -rf ./build
	@rm -rf ../local