Make the build system create a library instead of an application.