plan9port/src/cmd/rio/mkfile

35 lines
574 B
Text
Raw Normal View History

2004-03-21 13:54:34 +00:00
<$PLAN9/src/mkhdr
<|sh $PLAN9/src/libdraw/mkwsysrules.sh # for X11
2004-03-21 13:54:34 +00:00
OFILES=\
client.$O\
color.$O\
cursor.$O\
error.$O\
event.$O\
grab.$O\
key.$O\
2004-03-21 13:54:34 +00:00
main.$O\
manage.$O\
menu.$O\
CFLAGS=$CFLAGS -DDEBUG
2004-03-21 13:54:34 +00:00
HFILES=dat.h fns.h
TARG=rio
2005-01-19 16:44:22 +00:00
# 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
2004-03-21 13:54:34 +00:00
<$PLAN9/src/mkone
2004-03-25 23:03:57 +00:00
CFLAGS=$CFLAGS -DSHAPE
2004-03-25 23:03:57 +00:00
$O.xevents: xevents.$O printevent.$O
$LD -o $target $prereq $LDFLAGS
xevents.$O printevent.$O: printevent.h
2004-03-25 23:03:57 +00:00