Skip to content

Instantly share code, notes, and snippets.

@hrysd
Created September 18, 2012 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hrysd/3741307 to your computer and use it in GitHub Desktop.
Save hrysd/3741307 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, const char * argv[]) {
printf("mesage!\n");
return 0;
}
CC = "gcc"
task :default => "hello"
file "hello" => "hello.o" do
sh "#{CC} -o hello hello.o"
end
file "hello.o" => "hello.c" do
sh "#{CC} -c hello.c"
end
@komagata
Copy link

hello.cワロスwww

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment