In the last section we reviewed each step in building and preparing to test our application. Due to the rather tedious nature of executing each of these steps, we have a strong desire to utilize command-line tools when building C applications, as it greatly speeds up the edit, compile, copy, debug cycle. This example with only a single C source file is rather simplistic; however, when multiple source files must be linked together, the thought of having a build script is very appealing. The need for a build
Figure 13.2 The build, copy, run cycle jnjxj m script is particularly evident where there are numerous source files to compile and link, as we will encounter later in this chapter.
Listing 13.2 shows the build script for our Hello Android application.
Was this article helpful?