aboutsummaryrefslogtreecommitdiff
path: root/cli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cli/Makefile')
-rw-r--r--cli/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/Makefile b/cli/Makefile
new file mode 100644
index 0000000..1d10d3f
--- /dev/null
+++ b/cli/Makefile
@@ -0,0 +1,14 @@
+CC?=gcc
+CFLAGS+=-Wall -std=gnu23 -O0 -g
+
+cli-test: cli-test.c cli.h
+ $(CC) $(CFLAGS) -o cli-test cli-test.c
+
+cli-example: cli-example.c cli.h
+ $(CC) $(CFLAGS) -o cli-example cli-example.c
+
+example: cli-example
+
+test: cli-test
+
+.PHONY: test example