diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-07-04 18:38:20 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-07-04 18:38:20 -0400 |
commit | c6d518c66fc0774206ec439adfb6cc375913e2a4 (patch) | |
tree | 30fdab13b6b674c7e89fbb54d90235d5e341a742 /Makefile | |
parent | 4943d663ced75520361acdf26e31bef80c4aaa85 (diff) | |
download | bfs-c6d518c66fc0774206ec439adfb6cc375913e2a4.tar.xz |
Makefile: Use $(CURDIR)/bfs instead of $(realpath bfs)
$(realpath bfs) gives the empty string if bfs doesn't exist when it's
evaluated.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -99,9 +99,9 @@ tests/mksock: tests/mksock.o $(CC) $(ALL_CFLAGS) -c $< -o $@ check: all - ./tests.sh --bfs="$(realpath bfs)" - ./tests.sh --bfs="$(realpath bfs) -S dfs" - ./tests.sh --bfs="$(realpath bfs) -S ids" + ./tests.sh --bfs="$(CURDIR)/bfs" + ./tests.sh --bfs="$(CURDIR)/bfs -S dfs" + ./tests.sh --bfs="$(CURDIR)/bfs -S ids" distcheck: +$(MAKE) -Bs check CFLAGS="$(CFLAGS) -fsanitize=undefined -fsanitize=address" @@ -112,9 +112,9 @@ endif +$(MAKE) -Bs release check +$(MAKE) -Bs check ifeq ($(OS),Linux) - ./tests.sh --sudo --bfs="$(realpath bfs)" - ./tests.sh --sudo --bfs="$(realpath bfs) -S dfs" - ./tests.sh --sudo --bfs="$(realpath bfs) -S ids" + ./tests.sh --sudo --bfs="$(CURDIR)/bfs" + ./tests.sh --sudo --bfs="$(CURDIR)/bfs -S dfs" + ./tests.sh --sudo --bfs="$(CURDIR)/bfs -S ids" endif clean: |