• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

超漢字上で、mrubyを使ってhello worldを表示させる。


Commit MetaInfo

Revision60c816175266759511eeec844785b40b6a902fd6 (tree)
Time2014-07-16 02:49:51
Authorornse01 <ornse01@user...>
Commiterornse01

Log Message

simplify .o to .c rule.

Change Summary

Incremental Difference

--- a/src/Rakefile
+++ b/src/Rakefile
@@ -32,7 +32,7 @@ file "mruby-sample.out" => OBJS do |t|
3232 sh "#{CC} #{LDFLAGS} #{t.prerequisites.join(' ')} mruby/pcat/lib/libmruby.a #{LOADLIBES} -o #{t.name} "
3333 end
3434
35-rule '.o' => [proc{|t| "../src/" + t.pathmap("%f").pathmap("%n") + ".c"}] do |t|
35+rule '.o' => [proc{|t| t.pathmap("../src/%n.c") }] do |t|
3636 sh "#{CC} #{CFLAGS} #{CPPFLAGS} -c #{t.source} -o #{t.name}"
3737 end
3838