fix nowsys build
This commit is contained in:
parent
0360e1f12f
commit
1cba594e51
3 changed files with 15 additions and 3 deletions
|
|
@ -1,9 +1,11 @@
|
|||
<$PLAN9/src/mkhdr
|
||||
|
||||
<|sh ../devdraw/mkwsysrules.sh
|
||||
|
||||
TARG=snarfer
|
||||
OFILES=
|
||||
OFILES=$WSYSTYPE-snarfer.$O
|
||||
HFILES=
|
||||
|
||||
<|sh ../devdraw/mkwsysrules.sh
|
||||
<$PLAN9/src/mkmany
|
||||
<$PLAN9/src/mkone
|
||||
|
||||
x11-snarfer.$O: snarfer.c
|
||||
|
|
|
|||
9
src/cmd/snarfer/nowsys-snarfer.c
Normal file
9
src/cmd/snarfer/nowsys-snarfer.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
void
|
||||
main(void)
|
||||
{
|
||||
fprint(2, "no window system\n");
|
||||
exits("nowsys");
|
||||
}
|
||||
1
src/cmd/snarfer/x11-snarfer.c
Normal file
1
src/cmd/snarfer/x11-snarfer.c
Normal file
|
|
@ -0,0 +1 @@
|
|||
#include "snarfer.c"
|
||||
Loading…
Add table
Add a link
Reference in a new issue