diff options
Diffstat (limited to 'pkg/make/gen.lua')
| -rw-r--r-- | pkg/make/gen.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/make/gen.lua b/pkg/make/gen.lua new file mode 100644 index 00000000..9809030c --- /dev/null +++ b/pkg/make/gen.lua @@ -0,0 +1,22 @@ +cflags{ + '-D HAVE_CONFIG_H', + '-I include', + '-I $dir', + '-I $srcdir', + '-I $srcdir/glob', +} + +lib('libglob.a', {'glob/glob.c', 'glob/fnmatch.c'}) + +exe('make', [[ + ar.c arscan.c commands.c default.c dir.c expand.c file.c + function.c getopt.c getopt1.c guile.c implicit.c job.c load.c + loadapi.c main.c misc.c posixos.c output.c read.c remake.c + rule.c signame.c strcache.c variable.c version.c vpath.c + hash.c remote-stub.c + libglob.a +]]) +file('bin/make', '755', '$outdir/make') +man{'make.1'} + +fetch 'git' |
