From 91908a6228316dadf22de4eca88354bd59807fc3 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Tue, 25 Sep 2007 12:35:49 -0400 Subject: couple of utility makefiles mainly just so I can type "make clean" before "git status" but also includes targets for pychecker and pyflakes --- overlord/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 overlord/Makefile (limited to 'overlord') diff --git a/overlord/Makefile b/overlord/Makefile new file mode 100755 index 0000000..86a3db8 --- /dev/null +++ b/overlord/Makefile @@ -0,0 +1,19 @@ + + +PYFILES = $(wildcard *.py) + +PYCHECKER = /usr/bin/pychecker +PYFLAKES = /usr/bin/pyflakes + +clean:: + @rm -fv *.pyc *~ .*~ *.pyo + @find . -name .\#\* -exec rm -fv {} \; + @rm -fv *.rpm + + +pychecker:: + @$(PYCHECKER) $(PYFILES) || exit 0 + +pyflakes:: + @$(PYFLAKES) $(PYFILES) || exit 0 + -- cgit