diff options
author | Aaron Ball <nullspoon@oper.io> | 2018-05-18 08:21:56 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2018-05-18 08:24:35 -0600 |
commit | 9de9c5bb26bc73a5b45b43b1c55cff67b1be17af (patch) | |
tree | 47ad0da7332661836028f339e86e513e6ad37114 /Makefile | |
download | cini-master.tar.gz cini-master.tar.xz |
Will return ini sections, with and without keys (--no-keys). Will also
return all lines with matching keys, regardless of section.
All source files contain GPLv3 license header
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0f7aafb --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +ccopts = -Wall --std=c99 -o 8 +out = cini + +all: + if [ ! -d obj ]; then mkdir obj; fi + cc $(dbg) $(ccopts) -c str.c -o obj/str.o + cc $(dbg) $(ccopts) -c ini.c -o obj/ini.o + cc $(dbg) $(ccopts) main.c obj/*.o -o cini + +debug: + make dbg=-g |