Changeset 245
- Timestamp:
- 02/26/2008 07:53:43 (9 months ago)
- Files:
-
- 1 modified
-
branches/superredcloth/Rakefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/superredcloth/Rakefile
r244 r245 112 112 ] 113 113 114 file ext_so => ext_files do 115 Dir.chdir(ext) do 116 sh(PLATFORM =~ /win32/ ? 'nmake' : 'make') 117 end 118 cp ext_so, "lib" 119 end 120 114 121 task "lib" do 115 122 directory "lib" … … 132 139 task extension.to_sym => ["#{ext}/Makefile", ext_so ] 133 140 134 file "#{ext}/Makefile" => ["#{ext}/extconf.rb" ] do141 file "#{ext}/Makefile" => ["#{ext}/extconf.rb", "#{ext}/superredcloth_scan.c","#{ext}/superredcloth_inline.c"] do 135 142 Dir.chdir(ext) do ruby "extconf.rb" end 136 end137 138 file ext_so => ext_files do139 Dir.chdir(ext) do140 sh(PLATFORM =~ /win32/ ? 'nmake' : 'make')141 end142 cp ext_so, "lib"143 143 end 144 144