aboutsummaryrefslogtreecommitdiff
path: root/vendor/optparse-master/Makefile
diff options
context:
space:
mode:
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