-
-
Save neko314/e3cddc22af89de3b76355e78aad1d5f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 hidden or 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