ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/tewi/build.com
Revision: 1.2
Committed: Tue Nov 12 02:29:02 2024 UTC (3 days, 1 hour ago) by nishi
Content type: application/x-msdownload
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +23 -2 lines
Log Message:
update build.com

File Contents

# User Rev Content
1 nishi 1.2 $! $Id: build.com 414 2024-11-12 02:28:47Z nishi $
2     $ 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 nishi 1.1 $ build_server:
19     $ file = f$search("*.c")
20     $ if file .eqs. "" then goto quit_server
21     $ write sys$output "Compiling "'file'
22     $ cc 'file'
23 nishi 1.2 $ if file .eqs. "" then
24     $ objects = "''file'"
25     $ else
26     $ objects = "''objects'+''file'"
27     $ endif
28 nishi 1.1 $ goto build_server
29     $ quit_server:
30 nishi 1.2 $ link /executable=tewi.exe "''comobjs'+''objects'"
31 nishi 1.1 $ set def [-]
32     $ exit