equal
deleted
inserted
replaced
145 |
145 |
146 file STX_CONF_DIR / 'stx-config.make' => STX_CONF_DIR do |
146 file STX_CONF_DIR / 'stx-config.make' => STX_CONF_DIR do |
147 makelib_dir = Pathname.new(File.expand_path('makelib')).relative_path_from(Pathname.new(BUILD_DIR / 'stx' )) |
147 makelib_dir = Pathname.new(File.expand_path('makelib')).relative_path_from(Pathname.new(BUILD_DIR / 'stx' )) |
148 File.open(STX_CONF_DIR / 'stx-config.make', 'w') do | f | |
148 File.open(STX_CONF_DIR / 'stx-config.make', 'w') do | f | |
149 f.puts "BUILD_TARGET ?= #{BUILD_TARGET}" |
149 f.puts "BUILD_TARGET ?= #{BUILD_TARGET}" |
|
150 if defined? CC |
|
151 f.puts "CC ?= #{CC}" |
|
152 end |
150 end |
153 end |
151 end |
154 end |
152 |
155 |
153 rule 'makefile' do |t| |
156 rule 'makefile' do |t| |
154 chdir File.dirname(t.name) do |
157 chdir File.dirname(t.name) do |