From 112f178ee325a6210f9d0b38f0d677cdaac20494 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 6 Feb 2018 14:27:25 -0600 Subject: [PATCH] Add ability to regen cmake with/without static analysis --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 54e8deb..3c98371 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,17 @@ +STATIC_ANALYSIS= + test: cd tests/build && make && ./erc-test build: cd build && make && ./erc -.PHONY: test build +cmake: + cd build && cmake .. + cd tests/build && cmake .. + +static: + cd build && STATIC_ANALYSIS=1 cmake .. + cd tests/build && STATIC_ANALYSIS=1 cmake .. + +.PHONY: test build cmake static