calling glutExit in the erro callback is a really bad example...
[freeglut] / android / README
1 - Android.mk : used to create a module compatible with the NDK build
2   system.  See ../README.android for details.