summaryrefslogtreecommitdiff
path: root/pkg/make/gen.lua
blob: 9806b57b935e0d60020ee4afbfeb443a0aa4889e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cflags{
	'-D HAVE_CONFIG_H',
	'-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'