aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 553c968..1f15996 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PYTHONFILES = $(shell find src/ -name "*.py")
+
MAKEFILES = $(shell dirname $(shell find src/ -name Makefile))
CMAKELISTS = $(shell dirname $(shell find src/ -name CMakeLists.txt))
@@ -44,4 +46,7 @@ clean:
rm -rf $(OBJDIR)
pylint:
- pylint $(shell find src/ -name "*.py")
+ pylint $(PYTHONFILES)
+
+yapf:
+ yapf -i $(PYTHONFILES)