From 717d0352060fd4eaae01751b49bbcf6a6195866b Mon Sep 17 00:00:00 2001 From: Julien Hachenberger Date: Tue, 24 Sep 2019 12:27:02 +0200 Subject: [PATCH] Make sub-'make' call POSIX compliant Pull request #15 introduced a `make` call using `-C` (short for: `--directory`) option which is not POSIX compliant. This commit will use the `cd` builtin instead to maintain POSIX compliance. Signed-off-by: Julien Hachenberger --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 9257f61..7e623bb 100644 --- a/makefile +++ b/makefile @@ -133,7 +133,7 @@ time: wc -l $(SAMPLE_DIR)/*/*.[ch] | tail -2 test: - $(MAKE) -C $(TESTDIR) test + cd $(TESTDIR); $(MAKE) test profile: /usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results