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 <julien.hachenberger@sit.fraunhofer.de>
This commit is contained in:
Julien Hachenberger 2019-09-24 12:27:02 +02:00
parent 025cee45db
commit 717d035206
No known key found for this signature in database
GPG Key ID: FFD8653ECDDD6B2C
1 changed files with 1 additions and 1 deletions

View File

@ -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