Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
</$objtype/mkfile
2
 
3
LIB=cc.a$O
4
OFILES=\
5
	y.tab.$O\
6
	lex.$O\
7
	mac.$O\
8
	dcl.$O\
9
	acid.$O\
10
	pickle.$O\
11
	bits.$O\
12
	com.$O\
13
	scon.$O\
14
	funct.$O\
15
	sub.$O\
16
	com64.$O\
17
	compat.$O\
18
	dpchk.$O\
19
	omachcap.$O\
20
 
21
HFILES=cc.h\
22
	y.tab.h\
23
 
24
YFILES=cc.y\
25
 
26
CURCC=5c 6c 8c qc vc
27
OTHERCC=kc
28
 
29
</sys/src/cmd/mklib
30
 
31
install:V:	$LIB
32
	date
33
 
34
$LIB:	$LIBOBJ
35
	ar vu $LIB $OFILES
36
 
37
mac.$O:	macbody
38
 
39
everything:V:
40
	# mk the current compilers
41
	for(DIR in cc $CURCC){
42
		cd ../$DIR
43
		mk nuke
44
		mk install
45
	}
46
	# mk all the others with those
47
	for(DIR in cc $CURCC $OTHERCC){
48
		cd ../$DIR
49
		mk nuke
50
		mk installall
51
		mk clean
52
	}