19 lines
293 B
Plaintext
19 lines
293 B
Plaintext
|
</$objtype/mkfile
|
||
|
|
||
|
prog: main.$O compiler.$O tokenizer.$O
|
||
|
$LD $LDFLAGS -o $target $prereq
|
||
|
|
||
|
%.$O: %.c
|
||
|
$CC $CFLAGS $stem.c
|
||
|
|
||
|
install: $O.out
|
||
|
|
||
|
cp $O.out /$objtype/bin/varaq
|
||
|
|
||
|
installall:
|
||
|
|
||
|
for(objtype in $CPUS) mk install
|
||
|
|
||
|
clean:V:
|
||
|
|
||
|
rm -f [$OS].out *.[$OS] y.tab.?
|