Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.56 kB
VERSION=1.0.0
PACKAGE=BlobDetector-$(VERSION)
TARBALL=$(PACKAGE).tar.gz
all: $(TARBALL)
$(TARBALL):
mkdir $(PACKAGE)
ln setup.py $(PACKAGE)/
ln README $(PACKAGE)/
ln blobs.cpp $(PACKAGE)/
mkdir $(PACKAGE)/BlobDetector
ln BlobDetector/__init__.py $(PACKAGE)/BlobDetector/
tar -czf $(TARBALL) $(PACKAGE)
rm -rf $(PACKAGE)
test: BlobDetector/_blobs.so
python BlobDetector/__init__.py
BlobDetector/_blobs.so: blobs.cpp
python setup.py build
mv -v build/lib.*/_blobs.so BlobDetector/_blobs.so
clean:
rm -f BlobDetector/_blobs.so
rm $(TARBALL)
Jump to Line
Something went wrong with that request. Please try again.