diff options
| author | Russ Cox <rsc@swtch.com> | 2008-01-31 20:56:23 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2008-01-31 20:56:23 -0500 |
| commit | f73497bbafecbedd367eaab16aaf37c701672be0 (patch) | |
| tree | e2bb8dae3833c266b3b1e2f3cdcd068fa5d795d5 /src/cmd/rio/mkfile | |
| parent | 9daa3ca74ebd673d00ba52667c50fe4a0046d100 (diff) | |
| download | plan9port-f73497bbafecbedd367eaab16aaf37c701672be0.tar.gz plan9port-f73497bbafecbedd367eaab16aaf37c701672be0.zip | |
rio: add xshove program
Diffstat (limited to 'src/cmd/rio/mkfile')
| -rw-r--r-- | src/cmd/rio/mkfile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cmd/rio/mkfile b/src/cmd/rio/mkfile index 135226d3..e5426865 100644 --- a/src/cmd/rio/mkfile +++ b/src/cmd/rio/mkfile @@ -1,7 +1,7 @@ <$PLAN9/src/mkhdr <|sh ../devdraw/mkwsysrules.sh # for X11 -OFILES=\ +RIOFILES=\ client.$O\ color.$O\ cursor.$O\ @@ -16,7 +16,7 @@ OFILES=\ CFLAGS=$CFLAGS -DDEBUG HFILES=dat.h fns.h -TARG=rio +TARG=rio xshove # need to add lib64 when it exists (on x86-64), but # Darwin complains about the nonexistant directory @@ -27,6 +27,8 @@ LDFLAGS=-L$X11/lib$L64/ -lXext -lX11 <|sh mkriorules.sh +$O.rio: $RIOFILES + CFLAGS=$CFLAGS -DSHAPE -DDEBUG_EV -DDEBUG $O.xevents: xevents.$O printevent.$O @@ -35,3 +37,7 @@ $O.xevents: xevents.$O printevent.$O xevents.$O printevent.$O: printevent.h error.$O: showevent/ShowEvent.c + +$O.xshove: xshove.$O + $LD -o $O.xshove xshove.$O -lX11 + |
