Sha256: 00c5fb66242bf55b31a462014108956650c1f68277ffcd9d9febd0d089b3c9ed

Contents?: true

Size: 609 Bytes

Versions: 4

Compression:

Stored size: 609 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'icuke', 'sdk')
require 'rake/clean'

version = '4.3'
ICuke::SDK.use_latest(version)

rule '.o' => '.m' do |o|
  sh "#{ICuke::SDK.gcc} -c -o #{o.name} #{o.source}"
end

CLEAN.include('**/*.o')

file ICuke::SDK.dylib => FileList['**/*.m'].ext('.o') do |t|
  sh "#{ICuke::SDK.ld} -dynamiclib -o #{t.name} -framework Foundation -framework GraphicsServices -framework UIKit -framework CFNetwork -framework AXRuntime #{t.prerequisites.join(' ')}"
end

CLEAN.include("../#{ICuke::SDK.dylib}")

task :install => ICuke::SDK.dylib
task :default => :install

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iCuke-0.7.0 ext/iCuke/Rakefile
iCuke-0.6.6 ext/iCuke/Rakefile
iCuke-0.6.5 ext/iCuke/Rakefile
iCuke-0.6.4 ext/iCuke/Rakefile