/[tewi]/build.com
ViewVC logotype

Diff of /build.com

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by nishi, Mon Nov 11 17:25:37 2024 UTC Revision 1.2 by nishi, Tue Nov 12 02:29:02 2024 UTC
# Line 1  Line 1 
1  $! $Id$  $! $Id$
2  $ set def [.Server]  $ set def [.Common]
3    $ objects = ""
4    $ comobjs = ""
5    $ build_common:
6    $       file = f$search("*.c")
7    $       if file .eqs. "" then goto quit_server
8    $       write sys$output "Compiling "'file'
9    $       cc 'file'
10    $       if file .eqs. "" then
11    $               comobjs = "''file'"
12    $       else
13    $               comobjs = "''objects'+''file'"
14    $       endif
15    $ goto build_common
16    $ quit_common:
17    $       set def [-.Server]
18  $ build_server:  $ build_server:
19  $       file = f$search("*.c")  $       file = f$search("*.c")
20  $       if file .eqs. "" then goto quit_server  $       if file .eqs. "" then goto quit_server
21  $       write sys$output "Compiling "'file'  $       write sys$output "Compiling "'file'
22  $       cc 'file'  $       cc 'file'
23    $       if file .eqs. "" then
24    $               objects = "''file'"
25    $       else
26    $               objects = "''objects'+''file'"
27    $       endif
28  $ goto build_server  $ goto build_server
29  $ quit_server:  $ quit_server:
30    $       link /executable=tewi.exe "''comobjs'+''objects'"
31  $       set def [-]  $       set def [-]
32  $ exit  $ exit


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev