diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-09-12 12:33:18 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-09-12 12:33:18 +0300 |
commit | 7cddd3e1ea648b7c478c00559a23cc10417bc5dd (patch) | |
tree | a8db3f4c86f4fe36d84a469ce41e749e8d67755b /cli/Makefile | |
parent | 3620253a9463a9a256a2a031312d175fd23c73c1 (diff) | |
download | c-wares-7cddd3e1ea648b7c478c00559a23cc10417bc5dd.tar.gz c-wares-7cddd3e1ea648b7c478c00559a23cc10417bc5dd.zip |
cli.h: a simple command-line parser
A simple command-line commands and options parser.
Diffstat (limited to 'cli/Makefile')
-rw-r--r-- | cli/Makefile | 14 |
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 |