From 79585e92e17076ad2981958f5ee4c93895044452 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 22 Aug 2019 20:52:35 +0200 Subject: add pylint make target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3