aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/mkfile
blob: 775597d34e20361f4eb678a67d886344f5e85f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<$PLAN9/src/mkhdr

OFILES=\
	client.$O\
	color.$O\
	cursor.$O\
	error.$O\
	event.$O\
	grab.$O\
	main.$O\
	manage.$O\
	menu.$O\

HFILES=dat.h fns.h

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

<$PLAN9/src/mkone

CFLAGS=$CFLAGS -DSHAPE -I$X11/include