blob: c040695df8625138060c6e374582c707a2ad5826 (
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
|
APE=/sys/src/ape
<$APE/config
LIB=/$objtype/lib/ape/lib9.a
OFILES=errstr.$O\
bind.$O\
getcallerpc.$O\
getfcr.$O\
mount.$O\
rendezvous.$O\
rfork.$O\
segattach.$O\
segdetach.$O\
segflush.$O\
segfree.$O\
setmalloctag.$O\
unmount.$O\
</sys/src/cmd/mksyslib
CFLAGS=-c $CFLAGS -D_POSIX_SOURCE -D_PLAN9_SOURCE
%.0: mips/%.s
$AS $prereq
%.$O: $objtype/%.s
$AS $prereq
%.$O: $objtype/%.c
$CC $CFLAGS $prereq
|