Changeset 414 in Main for trunk


Ignore:
Timestamp:
Nov 12, 2024, 11:28:47 AM (4 days ago)
Author:
Nishi
Message:

update build.com

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.com

    r413 r414  
    11$! $Id$
    2 $ set def [.Server]
     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]
    318$ build_server:
    419$       file = f$search("*.c")
     
    621$       write sys$output "Compiling "'file'
    722$       cc 'file'
     23$       if file .eqs. "" then
     24$               objects = "''file'"
     25$       else
     26$               objects = "''objects'+''file'"
     27$       endif
    828$ goto build_server
    929$ quit_server:
     30$       link /executable=tewi.exe "''comobjs'+''objects'"
    1031$       set def [-]
    1132$ exit
Note: See TracChangeset for help on using the changeset viewer.