mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-05 11:33:57 +01:00
This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
17 lines
298 B
Lua
17 lines
298 B
Lua
cflags{
|
|
'-std=c99', '-Wall',
|
|
'-isystem $builddir/pkg/ncurses/include',
|
|
}
|
|
|
|
pkg.hdrs = copy('$outdir/include', '$srcdir', {'termkey.h'})
|
|
pkg.deps = {'pkg/ncurses/headers'}
|
|
|
|
lib('libtermkey.a', {
|
|
'termkey.c',
|
|
'driver-csi.c',
|
|
'driver-ti.c',
|
|
'$builddir/pkg/ncurses/libncurses.a',
|
|
})
|
|
|
|
fetch 'curl'
|