2011-03-30 12:46:40 +00:00
|
|
|
</$objtype/mkfile
|
|
|
|
|
|
|
|
TARG=qc
|
|
|
|
OFILES=\
|
|
|
|
cgen.$O\
|
|
|
|
enam.$O\
|
|
|
|
list.$O\
|
|
|
|
machcap.$O\
|
|
|
|
mul.$O\
|
|
|
|
peep.$O\
|
|
|
|
pgen.$O\
|
|
|
|
pswt.$O\
|
|
|
|
reg.$O\
|
|
|
|
sgen.$O\
|
|
|
|
swt.$O\
|
|
|
|
txt.$O\
|
|
|
|
|
|
|
|
HFILES=\
|
|
|
|
gc.h\
|
|
|
|
q.out.h\
|
2020-04-11 03:03:49 +00:00
|
|
|
../cc/compat.h\
|
2011-03-30 12:46:40 +00:00
|
|
|
../cc/cc.h\
|
|
|
|
|
|
|
|
LIB=../cc/cc.a$O
|
|
|
|
|
|
|
|
BIN=/$objtype/bin
|
|
|
|
</sys/src/cmd/mkone
|
|
|
|
|
2016-06-09 21:03:30 +00:00
|
|
|
$LIB: ../cc/cc.h
|
2011-03-30 12:46:40 +00:00
|
|
|
cd ../cc
|
|
|
|
mk install
|
|
|
|
|
|
|
|
%.$O: ../cc/%.c
|
|
|
|
$CC $CFLAGS ../cc/$stem.c
|
|
|
|
|
|
|
|
t:V: $O.out
|
|
|
|
$O.out -S t
|
|
|
|
$LD -o t.out t.$O
|
|
|
|
t.out
|
|
|
|
|
|
|
|
enam.c: q.out.h
|
|
|
|
rc mkenam
|