aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/map/mkfile
blob: 43f2205de439949496c415db2946a1093f6eefe0 (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
31
<$PLAN9/src/mkhdr

TARG=mapd 
LIB=libmap/libmap.a
OFILES=map.$O\
	symbol.$O\
	index.$O\

HFILES=map.h\
	iplot.h\

<$PLAN9/src/mkone


$O.out:V:	$OFILES $LIB
	$LD $LDFLAGS -o $target $prereq

$LIB:V:
	cd libmap
	mk install

installall:V:
	for(objtype in $CPUS)
		mk install
	cp map.rc /rc/bin/map
	cp mapdemo.rc /rc/bin/mapdemo

clean nuke:V:
	rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
	cd libmap; mk clean