summaryrefslogtreecommitdiff
path: root/6/mkfile
blob: 6be662942aab0312f8f54f8ba85e5be6028faf0e (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
</$objtype/mkfile

CC=pcc
CFLAGS=-c -D_POSIX_SOURCE -D_SUSV2_SOURCE -D_C99_SNPRINTF_EXTENSION -I../parse -I../mi
LDFLAGS=-L../parse -lparse -L../mi -lmi

TARG=6m
OFILES=\
	blob.$O\
	gen.$O\
	gengas.$O\
	genp9.$O\
	isel.$O\
	locs.$O\
	main.$O\
	ra.$O\
	simp.$O\
	peep.$O\
	typeinfo.$O\

LIB=../parse/libparse.a ../mi/libmi.a

HFILES=asm.h ../parse/parse.h ../mi/mi.h ../config.h insns.def regs.def

BIN=/$objtype/bin
</sys/src/cmd/mkone

uninstall:V:
	rm -f /$objtype/bin/$TARG