diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-06 17:21:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-02 11:18:47 +0200 |
| commit | 2fa5c87c2f9946f4b2ee2347eaef7214da0af86a (patch) | |
| tree | 069172bbddc097ff45df7e1814895784e3b9eb5d | |
| parent | 8174a918ea3b7cb216bf7ea98cfdc10661b5c37d (diff) | |
| download | allocbench-2fa5c87c2f9946f4b2ee2347eaef7214da0af86a.tar.gz allocbench-2fa5c87c2f9946f4b2ee2347eaef7214da0af86a.zip | |
Makefile: find all our python files and add check target
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ SRCDIR = allocbench -PYTHONFILES = $(shell find $(SRCDIR)/ -name "*.py") +PYTHONFILES = $(shell find -name "*.py" -not -path "./cache/*" -not -path "./build/*" -not -path "./.git/*") MAKEFILES = $(shell dirname $(shell find $(SRCDIR)/ -name Makefile)) CMAKELISTS = $(shell dirname $(shell find $(SRCDIR)/ -name CMakeLists.txt)) @@ -20,7 +20,7 @@ export CXXFLAGS = -std=c++11 $(CFLAGS) -fno-exceptions export LDFLAGS = -pthread -static-libgcc export LDXXFLAGS = $(LDFLAGS) -static-libstdc++ -.PHONY: all clean pylint yapf tags $(MAKEFILES) $(CMAKELISTS) +.PHONY: all clean pylint yapf tags check $(MAKEFILES) $(CMAKELISTS) all: $(OBJDIR)/ccinfo $(MAKEFILES) $(CMAKELISTS) $(CMAKELISTS): @@ -55,3 +55,5 @@ yapf: tags: ctags -R --exclude="build/*" --exclude="cache/*" --exclude="doc/*" --exclude="results/*" + +check: pylint |
