blob: 705a39808809b509980f11d68f9587449ae750e5 [file] [log] [blame]
default:
PREFIX=/
BINDIR=$(DESTDIR)$(PREFIX)/bin
PYTHON?=python
all:
install:
mkdir -p $(BINDIR)
cp ledpattern.py $(BINDIR)/ledpattern
install-libs:
@echo "No libs to install."
test: lint
set -e; \
for pytest in $(wildcard *_test.py); do \
echo; \
echo "Testing $$pytest"; \
$(PYTHON) $$pytest; \
done
clean:
rm -rf *.pyc
lint:
gpylint ledpattern.py ledpattern_test.py