summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJohnny Richard <johnny@johnnyrichard.com>2022-04-12 03:33:59 +0200
committerJohnny Richard <johnny@johnnyrichard.com>2022-04-12 04:09:22 +0200
commit22283ef54b66495e2c88e0dbac9856c4a34434a6 (patch)
tree8f286885f00173b938213067776d34917e446386 /test/Makefile
parente83f1e89da0a8fb5527435a61743b9f0769caa7c (diff)
Add munit testing framework support
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..3d86f0e
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,13 @@
+CC=gcc
+
+.PHONY: all
+all: hash_table_test
+
+.PHONY: hash_table_test
+hash_table_test: ../hash_table.o hash_table_test.c
+ $(CC) -o hash_table_test ../hash_table.o hash_table_test.c
+ ./hash_table_test
+
+.PHONY: clean
+clean:
+ @$(RM) hash_table_test