add C example

This commit is contained in:
Juraj Michalek
2014-04-21 19:23:41 +02:00
parent 8327533aff
commit 5094926ec7
3 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
task hello {
description = "Say Hello :-)"
println "Hello FI MUNI!"
}

View File

@@ -0,0 +1,7 @@
apply plugin: 'c'
executables {
main {
}
}

View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int main(int argc, char** argv){
printf("Hello FI MUNI!\n");
return 0;
}