Created
September 18, 2012 04:46
-
-
Save hrysd/3741307 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, const char * argv[]) { | |
printf("mesage!\n"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello.cワロスwww