aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm/mkfile
blob: ba64daf03309614eba8148952527b589ee52f90f (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
28
29
30
PLAN9=../../..
<$PLAN9/src/mkhdr

TARG=samterm
OFILES=\
	main.$O\
	icons.$O\
	menu.$O\
	mesg.$O\
	rasp.$O\
	scroll.$O\
	flayer.$O\
	io.$O\
	plan9.$O\

HFILES=\
	samterm.h\
	flayer.h\
	../sam/sam.h\
	../sam/mesg.h\
	$PLAN9/include/frame.h\
	$PLAN9/include/draw.h\

CFLAGS=$CFLAGS -I../sam
LDFLAGS=$LDFLAGS -lframe -ldraw -lthread -l9 -lregexp9 \
	-lbio -lfmt -lutf -L$X11/lib -lX11 -lm

o.samterm: $PLAN9/lib/libframe.a $PLAN9/lib/libdraw.a $PLAN9/lib/libthread.a

<$PLAN9/src/mkone