summaryrefslogtreecommitdiff
path: root/c_conf_gen/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-02-17 20:00:33 +0900
committerFreeArtMan <dos21h@gmail.com>2015-02-17 20:00:33 +0900
commit670e03997afca107abbfc61a61f89477a9f9ab82 (patch)
treedc6b31a985104ef1180859780379408e1abdb215 /c_conf_gen/Makefile
parent35a421a727841319d5a998806924205ec6663bc2 (diff)
downloadcode-snippets-670e03997afca107abbfc61a61f89477a9f9ab82.tar.gz
code-snippets-670e03997afca107abbfc61a61f89477a9f9ab82.zip
c_conf_gen lua script that generates getopt code for fast argc,argv parsing. for lazy people
Diffstat (limited to 'c_conf_gen/Makefile')
-rw-r--r--c_conf_gen/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/c_conf_gen/Makefile b/c_conf_gen/Makefile
new file mode 100644
index 0000000..09232e0
--- /dev/null
+++ b/c_conf_gen/Makefile
@@ -0,0 +1,7 @@
+LUA=/home/fam/downloads/source/lua/lua-5.3.0/src/lua
+
+make:
+ @$(LUA) cconfgen.lua
+
+test:
+ @$(LUA) cconfgen.lua -c config/cs_config2 -o config/cs_config2 \ No newline at end of file