Ignore:
Timestamp:
Jun 27, 2017, 10:53:32 AM (7 years ago)
Author:
ertl-honda
Message:

3.1.0を反映

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_wo_tecs/trunk/configure.rb

    r305 r306  
    5454#  の責任を負わない.
    5555#
    56 #  $Id: configure.rb 585 2016-02-05 10:58:56Z ertl-hiro $
     56#  $Id: configure.rb 626 2016-02-12 13:46:32Z ertl-hiro $
    5757#
    5858
     
    227227  $appldirs.push("\$(SRCDIR)/sample")
    228228end
    229 if $applname.nil?
    230   $applname = "sample1"
    231 end
     229$applname ||= "sample1"
    232230if $option_t.nil?
    233231  $applobjs.unshift($applname + ".o")
    234232end
    235 if $cfgfile.nil?
    236   $cfgfile = $applname + ".cfg"
    237 end
    238 if $cdlfile.nil?
    239   $cdlfile = $applname + ".cdl"
    240 end
     233$cfgfile ||= $applname + ".cfg"
     234$cdlfile ||= $applname + ".cdl"
    241235if $srcdir.nil?
    242236  # ソースディレクトリ名を取り出す
     
    252246  $srcabsdir = Shell.new.cwd + "/" + $srcdir
    253247end
    254 if $tempmakefile.nil?
    255   $tempmakefile = $srcdir + "/sample/Makefile"
    256 end
    257 if $cfg.nil?
    258   $cfg = $ruby + " \$(SRCDIR)/cfg/cfg.rb"
    259 end
    260 if $tecsgen.nil?
    261   $tecsgen = $ruby + " \$(SRCDIR)/tecsgen/tecsgen.rb"
    262 end
     248$tempmakefile ||= $srcdir + "/sample/Makefile"
     249$cfg ||= $ruby + " \$(SRCDIR)/cfg/cfg.rb"
     250$tecsgen ||= $ruby + " \$(SRCDIR)/tecsgen/tecsgen.rb"
    263251
    264252#
Note: See TracChangeset for help on using the changeset viewer.