rake-c 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rake/c.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36faf8d410a848f7d1cdd45540e482ed4f64908a51fd2ca84d8d5e8ce4489ea7
|
4
|
+
data.tar.gz: 2c5d6c5b1dc630c52cbe5c9904a48160fb777398b030f3cb712a05f529ca4e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 650087fc4fd58a06e45602bf353a241ffe4ea0f84aa5e4cf2bfdddb300b1213e93e0d68b62b5123e649bc5b9a5977168e835581efcff851127bd9a810e8b26a4
|
7
|
+
data.tar.gz: bf73bf4bb91fbd6531bbd593b21c9f3d573ff3d19a1aa266d0e8d609360599ce649bf7ecbbfb15adf21c1e8e13618680faac6618c82e70fc3367e43c1865d6a4
|
data/lib/rake/c.rb
CHANGED
@@ -58,7 +58,7 @@ class C
|
|
58
58
|
objects = Array.new
|
59
59
|
files.each do |f|
|
60
60
|
type = /\.[a-zA-Z0-9]+$/.match(f).to_s
|
61
|
-
if type == '.c' || type == '.cc' || type == '.cpp' || type == '.c++' || type == '.m' || type
|
61
|
+
if type == '.c' || type == '.cc' || type == '.cpp' || type == '.c++' || type == '.m' || type == '.mm' then
|
62
62
|
o = f.ext('.o')
|
63
63
|
d = f.ext('.deps.rb')
|
64
64
|
theobject = "#{@@builddir}/objects/#{name}/#{o}"
|