diff options
| author | rsc <devnull@localhost> | 2005-07-13 03:54:35 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-07-13 03:54:35 +0000 |
| commit | ac33a34a29f96ada24895ee56364eab27533143f (patch) | |
| tree | f3677b30ed99cfcb8168ceacc9e37ace6ac941ca /src/cmd/rio/mkfile | |
| parent | 7ce3f20d73df41eaed90f26741325c4d7e1c0013 (diff) | |
| download | plan9port-ac33a34a29f96ada24895ee56364eab27533143f.tar.gz plan9port-ac33a34a29f96ada24895ee56364eab27533143f.zip | |
formatting changes; attempt at keyboard-based window switching
Diffstat (limited to 'src/cmd/rio/mkfile')
| -rw-r--r-- | src/cmd/rio/mkfile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile index 775597d3..754a26cf 100644 --- a/src/cmd/rio/mkfile +++ b/src/cmd/rio/mkfile @@ -1,4 +1,5 @@ <$PLAN9/src/mkhdr +<|sh $PLAN9/src/libdraw/mkwsysrules.sh # for X11 OFILES=\ client.$O\ @@ -7,10 +8,12 @@ OFILES=\ error.$O\ event.$O\ grab.$O\ + key.$O\ main.$O\ manage.$O\ menu.$O\ +CFLAGS=$CFLAGS -DDEBUG HFILES=dat.h fns.h TARG=rio @@ -18,10 +21,14 @@ TARG=rio # need to add lib64 when it exists (on x86-64), but # Darwin complains about the nonexistant directory L64=`[ -d $X11/lib64 ] && echo 64; echo` -LDFLAGS=-L$X11/lib$L64\ -lXext -lX11 +LDFLAGS=-L$X11/lib$L64 -lXext -lX11 <$PLAN9/src/mkone -CFLAGS=$CFLAGS -DSHAPE -I$X11/include +CFLAGS=$CFLAGS -DSHAPE +$O.xevents: xevents.$O printevent.$O + $LD -o $target $prereq $LDFLAGS + +xevents.$O printevent.$O: printevent.h |
