34 lines
639 B
Plaintext
34 lines
639 B
Plaintext
$ write sys$output "cc/define=__STAND_ALONE awk.c"
|
|
$ cc/define=__STAND_ALONE awk.c
|
|
$
|
|
$ write sys$output "cc/define=__STAND_ALONE parse.c"
|
|
$ cc/define=__STAND_ALONE parse.c
|
|
$
|
|
$ write sys$output "cc/define=__STAND_ALONE tree.c"
|
|
$ cc/define=__STAND_ALONE tree.c
|
|
$
|
|
$ write sys$output "cc/define=__STAND_ALONE sa.c"
|
|
$ cc/define=__STAND_ALONE sa.c
|
|
$
|
|
$ write sys$output "lib/create xpawk awk,parse,tree,sa"
|
|
$ lib/create xpawk awk,parse,tree,sa
|
|
|
|
|
|
$ objs := awk,hash,tab,tree,parse,sa
|
|
$
|
|
$ loop:
|
|
$ file =
|
|
$ if file .ne. ""
|
|
$ then
|
|
$ gosub compile
|
|
$ goto loop
|
|
$ endif
|
|
$
|
|
$ exit
|
|
$
|
|
$ compile:
|
|
$ write sys$output "awk.c"
|
|
$ return
|
|
|
|
|