aboutsummaryrefslogtreecommitdiff
path: root/vendor/optparse-master/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-25 15:50:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-25 15:50:21 +0200
commitff415f69a93812418cc60a33dd14452fc6b2901a (patch)
tree1578ef579b958927e64e0835c81339a00fce65fb /vendor/optparse-master/Makefile
parent0d28ae797b89f05b08b1051f0d2dd72d2416d409 (diff)
Support generation of asm/obj files
Diffstat (limited to 'vendor/optparse-master/Makefile')
-rw-r--r--vendor/optparse-master/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/optparse-master/Makefile b/vendor/optparse-master/Makefile
new file mode 100644
index 0000000..392b4eb
--- /dev/null
+++ b/vendor/optparse-master/Makefile
@@ -0,0 +1,10 @@
+CFLAGS = -ansi -pedantic -Wall -Wextra -g3
+
+test : test.c optparse.h
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test.c $(LDLIBS)
+
+run : test
+ ./test -abdfoo -c bar subcommand example.txt -a
+
+clean :
+ rm -f test