This example contains the minimal amount of code needed to create a working Game Boy game. Though not a very exciting one.
All a GBDK game needs to compile and run (any C-program, in fact) is a main function. This is the entry point into your program.
void main() {
}