aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cfb50a..9db2e69 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token
tests: dynarray
-dynarray: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c
+dynarray: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c tests/binary_search.c
$(CC) $(CFLAGS) -o $@ $< -DTT_CHAR
./dynarray
$(CC) $(CFLAGS) -o $@ $< -DTT_SHORT
@@ -19,6 +19,8 @@ dynarray: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c
./dynarray
$(CC) $(CFLAGS) -o $@ tests/obscure.c
./dynarray
+ $(CC) $(CFLAGS) -o $@ tests/binary_search.c
+ ./dynarray
rm $@