aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 3e6fd74..398ebc1 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,8 +3,11 @@
check: build
./checker
-build: checker.cc
- g++ -o checker -g -O2 -I ../include -Wall -Wextra $^
+build: checker.cc ../lib/libcommon.a
+ g++ -o checker -g -O2 -I ../lib/include -Wall -Wextra $^
+
+../lib/libcommon.a:
+ make -C ../lib
clean:
rm -f checker