Assembling and Linking

PWB can handle all the details of assembling and linking (building) a program for you. You first tell PWB which source files constitute the program. PWB then creates a “makefile,” which specifies how these files are supposed to be assembled, compiled, and linked to create the final executable file. PWB already knows that .ASM files are to be assembled, .C files are to be compiled, and the resulting .OBJ files are to be linked, so it can handle simple projects automatically. Complex projects may require you to write your own makefile.

Once the makefile is created, you build your project by selecting the Build command. The makefile also speeds the build process with multimodule programs, since only those source files that have changed from the last build are reassembled or recompiled.