ProjectBuilder.st
changeset 2845 0d52c66fbc8e
parent 2844 5e4e46856d8d
child 2852 a3007ba3b216
equal deleted inserted replaced
2844:5e4e46856d8d 2845:0d52c66fbc8e
   633 
   633 
   634     makeCommand := ParserFlags makeCommand.
   634     makeCommand := ParserFlags makeCommand.
   635     usedCompiler = 'vc' ifTrue:[ makeCommand := 'vcmake'. compilerFlag := '-DUSEVC' ].
   635     usedCompiler = 'vc' ifTrue:[ makeCommand := 'vcmake'. compilerFlag := '-DUSEVC' ].
   636     usedCompiler = 'lcc' ifTrue:[ makeCommand := 'lcmake'. compilerFlag := '-DUSELCC' ].
   636     usedCompiler = 'lcc' ifTrue:[ makeCommand := 'lcmake'. compilerFlag := '-DUSELCC' ].
   637     usedCompiler = 'gcc' ifTrue:[ makeCommand := 'make'. ].
   637     usedCompiler = 'gcc' ifTrue:[ makeCommand := 'make'. ].
       
   638     makeCommand := makeCommand, ' TOP=', mySTXTopDirectory pathName.
   638 
   639 
   639     OperatingSystem isUNIXlike ifTrue:[
   640     OperatingSystem isUNIXlike ifTrue:[
   640         OperatingSystem
   641         OperatingSystem
   641             executeCommand:'sh ../../stx/rules/stmkmf'
   642             executeCommand:('sh %1/rules/stmkmf' bindWith:mySTXTopDirectory pathName)
   642             inputFrom:nil
   643             inputFrom:nil
   643             outputTo:stdOut
   644             outputTo:stdOut
   644             errorTo:stdErr
   645             errorTo:stdErr
   645             inDirectory:(buildDirectory / module / directory)
   646             inDirectory:(buildDirectory / module / directory)
   646             onError:[:status| self error:'make failed'].
   647             onError:[:status| self error:'make failed'].