aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-22 20:52:35 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-22 20:52:35 +0200
commit79585e92e17076ad2981958f5ee4c93895044452 (patch)
tree2394879b227a43449add9ad670863940a7a4b4cf
parent891704a9b443001a2e1b94d63a2bd119105bdc18 (diff)
downloadallocbench-79585e92e17076ad2981958f5ee4c93895044452.tar.gz
allocbench-79585e92e17076ad2981958f5ee4c93895044452.zip
add pylint make target
-rw-r--r--Makefile5
-rw-r--r--TODO4
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6f9713e..2e1a758 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ export CXXFLAGS = -std=c++11 $(CFLAGS) -fno-exceptions
export LDFLAGS = -pthread -static-libgcc
export LDXXFLAGS = $(LDFLAGS) -static-libstdc++
-.PHONY: all clean $(MAKEFILES)
+.PHONY: all clean pylint $(MAKEFILES)
all: $(OBJDIR)/ccinfo $(MAKEFILES)
$(MAKEFILES):
@@ -29,3 +29,6 @@ $(OBJDIR):
clean:
rm -rf $(OBJDIR)
+
+pylint:
+ pylint $(shell find $(PWD) -name "*.py" -not -path "$(OBJDIR)/*") \ No newline at end of file
diff --git a/TODO b/TODO
index 155144f..1fd20ce 100644
--- a/TODO
+++ b/TODO
@@ -6,7 +6,3 @@
- verify (commit id, checksum) remote sources
- git recursive clone
-
-- pylint Makefile target
-
-