You can also specify one of the other targets listed in the Makefile, and only that target (and its corresponding source files) would be made. For example, if we typed make, the output of make would look as follows:
% make cc -c data.c cc -c main.c cc -c io.c cc data.o main.o io.o -o project1 %When making its targets, make first checks the source files and attempts to create or update the source files. That is why data.o, main.o and io.o were created before attempting to create the target: project1.
Last updated on Wednesday, June 21, 1995 by
Ben
Y. Yoshino
Copyright © 1995 University of Hawai`i, College of Engineering,
Computer Facility
All rights reserved.