diff options
| author | Michael Forney <mforney@mforney.org> | 2017-09-17 00:03:34 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-09-25 19:23:06 -0700 |
| commit | ba94a8513d9a0aadb3f2c834c74b64aa644c61e8 (patch) | |
| tree | 48ac6c85baa7b9d960b9e1e726a906e61ca60967 /pkg/samurai | |
| parent | cb362b531d79708a259bbf070dee5104fd63df08 (diff) | |
Rewrite ninja generation scripts in Lua
Diffstat (limited to 'pkg/samurai')
| -rw-r--r-- | pkg/samurai/gen.lua | 10 | ||||
| -rw-r--r-- | pkg/samurai/gen.rc | 9 |
2 files changed, 10 insertions, 9 deletions
diff --git a/pkg/samurai/gen.lua b/pkg/samurai/gen.lua new file mode 100644 index 00000000..03d4fd24 --- /dev/null +++ b/pkg/samurai/gen.lua @@ -0,0 +1,10 @@ +cflags{ + '-Wall', '-Wextra', '-std=c99', '-pedantic', + '-D _POSIX_C_SOURCE=200809L', +} + +exe('samu', 'build.c deps.c env.c graph.c htab.c lex.c log.c parse.c samurai.c tool.c util.c') +file('bin/samu', '755', '$outdir/samu') +man{'samu.1'} + +fetch 'git' diff --git a/pkg/samurai/gen.rc b/pkg/samurai/gen.rc deleted file mode 100644 index e09ae8b1..00000000 --- a/pkg/samurai/gen.rc +++ /dev/null @@ -1,9 +0,0 @@ -cflags\ - -Wall -Wextra '-std=c99' -pedantic\ - -D '_POSIX_C_SOURCE=200809L' - -exe samu build.c deps.c env.c graph.c htab.c lex.c log.c parse.c samurai.c tool.c util.c -file bin/samu '$outdir'/samu 755 -man 1 samu.1 - -fetch git |
