blob: cf9887946eed826f28e02fa49a3fe758637c5849 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
9SRC=..
include $(9SRC)/Makehdr
LIB=libthread.a
OFILES=\
$(OBJTYPE).$O\
asm-$(SYSNAME)-$(OBJTYPE).$O\
channel.$O\
chanprint.$O\
create.$O\
debug.$O\
exec-unix.$O\
exit.$O\
getpid.$O\
id.$O\
iocall.$O\
ioclose.$O\
ioopen.$O\
ioproc.$O\
ioread.$O\
ioreadn.$O\
iowrite.$O\
kill.$O\
lib.$O\
main.$O\
memset.$O\
memsetd.$O\
note.$O\
proctab.$O\
ref.$O\
rendez.$O\
sched.$O\
HFILES=\
$(9SRC)/include/thread.h\
label.h\
threadimpl.h\
include $(9SRC)/Makesyslib
tprimes: tprimes.$O
$(CC) -o tprimes tprimes.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf
texec: $(LIB) texec.$O
$(CC) -o texec texec.$O -L$(9SRC)/lib -lthread -l9 -lfmt -lutf
CLEANFILES+=tprimes texec
|