Skip to content

Instantly share code, notes, and snippets.

@ytk001
Created August 30, 2016 14:44
Show Gist options
  • Save ytk001/c20e5ac6027e2a82482e828a8124e49d to your computer and use it in GitHub Desktop.
Save ytk001/c20e5ac6027e2a82482e828a8124e49d to your computer and use it in GitHub Desktop.
CC = "gcc"
task :default => "omikuji11"
file "omikuji11" => ["omikuji11.o"] do
sh "#{CC} -o omikuji11 omikuji11.o"
end
file "omikuji11.o" => "omikuji11.c" do
sh "#{CC} -c omikuji11.c"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment