]> git.lizzy.rs Git - dragonstd.git/blobdiff - test/Makefile
Add CMake config
[dragonstd.git] / test / Makefile
diff --git a/test/Makefile b/test/Makefile
deleted file mode 100644 (file)
index 2de1f9a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-CC=cc -g -Wall -Wextra -Werror -fmax-errors=1
-TEST=valgrind --leak-check=full --show-leak-kinds=all --quiet
-
-run: test_array test_list test_tree test_queue test_flag test_refcount_map
-       $(TEST) ./test_array && \
-       $(TEST) ./test_list  && \
-       $(TEST) ./test_tree  && \
-       $(TEST) ./test_queue && \
-       $(TEST) ./test_flag  && \
-       $(TEST) ./test_refcount_map
-
-test_%: test_%.c ../*.h ../*.c ../bits/*.h ../bits/*.c
-       $(CC) $< ../*.c ../bits/*.c -o $@ -lpthread
-
-clean:
-       rm -rf test_array test_list test_tree test_queue test_flag test_refcount_map