add c language example

This commit is contained in:
Juraj Michalek
2014-04-10 19:47:43 +02:00
parent 704f165b38
commit 1f87dd7c8f
3 changed files with 107 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
apply plugin: 'c'
sources {
main {
c {
source {
// Include just source, avoid including *.swp and other helper files
include "**/*.c"
}
}
}
}
executables {
main {
}
}

View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
printf("Making the MFPs think\n");
return 0;
}