Sha256: 4e019c0cefdc619d592f7c6c548026a943adee99c326619c4f67e37e93ab164d
Contents?: true
Size: 631 Bytes
Versions: 4
Compression:
Stored size: 631 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'icuke', 'sdk') require 'rake/clean' version = '3.1' 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.6.3 | ext/iCuke/sdk3.1/Rakefile |
iCuke-0.6.2 | ext/iCuke/sdk3.1/Rakefile |
iCuke-0.6.1 | ext/iCuke/sdk3.1/Rakefile |
iCuke-0.6.0 | ext/iCuke/sdk3.1/Rakefile |