aboutsummaryrefslogtreecommitdiff
path: root/hmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hmap/Makefile')
-rw-r--r--hmap/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/hmap/Makefile b/hmap/Makefile
new file mode 100644
index 0000000..dc52ab3
--- /dev/null
+++ b/hmap/Makefile
@@ -0,0 +1,9 @@
+CC?=gcc
+CFLAGS+=-Wall -Werror -std=gnu11 -Og -g
+
+ifdef DEBUG
+CFLAGS+=-DHMAP_DEBUG
+endif
+
+all:
+ $(CC) $(CFLAGS) -o hmap-test hmap-test.c hmap.c