gen.lua (232B)
1 cflags({'-std=c99', '-Wall', '-Wpedantic'}) 2 3 exe('pax', {'pax.c'}) 4 file('bin/pax', '755', '$outdir/pax') 5 6 sub('host.ninja', function() 7 set('outdir', '$outdir/host') 8 toolchain(config.host) 9 exe('pax', {'pax.c'}) 10 end) 11 12 fetch('git')