SOURCE=$(shell find $(SOURCE_PATH) -iname *.py)
OBJ=$(SOURCE:.py=.pyc)
TAG_FILE=~/.ctags/$(PROJECT_NAME).tags
+TODO_FILE=./TODO
DEBUGGER=winpdb
UNIT_TEST=nosetests -w $(TEST_PATH)
COVERAGE_TEST=figleaf
PROFILER=pyprofiler
CTAGS=ctags-exuberant
+TODO_FINDER=support/todo.py
-.PHONY: all run debug test lint tags package clean
+.PHONY: all run debug test lint tags todo package clean
all: test package
tags: $(TAG_FILE)
+todo: $(TODO_FILE)
+
clean:
rm -Rf $(OBJ)
mkdir -p $(dir $(TAG_FILE))
$(CTAGS) -o $(TAG_FILE) $(SOURCE)
+$(TODO_FILE): $(SOURCE)
+ @- $(TODO_FINDER) $(SOURCE) > $(TODO_FILE)
+
#Makefile Debugging
#Target to print any variable, can be added to the dependencies of any other target
#Userfule flags for make, -d, -p, -n