Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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

This comment has been minimized.

Copy link

komagata commented Sep 18, 2012

hello.cワロスwww

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