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:
parent
025cee45db
commit
717d035206
2
makefile
2
makefile
|
@ -133,7 +133,7 @@ time:
|
||||||
wc -l $(SAMPLE_DIR)/*/*.[ch] | tail -2
|
wc -l $(SAMPLE_DIR)/*/*.[ch] | tail -2
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(MAKE) -C $(TESTDIR) test
|
cd $(TESTDIR); $(MAKE) test
|
||||||
|
|
||||||
profile:
|
profile:
|
||||||
/usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results
|
/usr/lib/python1.5/profile.py ./flawfinder > profile-results $(SAMPLE_DIR)/*/*.[ch] > profile-results
|
||||||
|
|
Loading…
Reference in New Issue