tmkfile - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tmkfile (420B)
---
1 <$PLAN9/src/mkhdr
2
3 TARG=mapd
4 LIB=libmap/libmap.a
5 OFILES=map.$O\
6 symbol.$O\
7 index.$O\
8
9 HFILES=map.h\
10 iplot.h\
11
12 <$PLAN9/src/mkone
13
14
15 $O.out:V: $OFILES $LIB
16 $LD $LDFLAGS -o $target $prereq
17
18 $LIB:V:
19 cd libmap
20 mk install
21
22 installall:V:
23 for(objtype in $CPUS)
24 mk install
25 cp map.rc /rc/bin/map
26 cp mapdemo.rc /rc/bin/mapdemo
27
28 clean nuke:V:
29 rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output $TARG
30 cd libmap; mk clean
31