CSc 265 Lab 10

Team Name:

Team Members:




Below is the contents of file Makefile and six csh commands divided into five groups. Assume that the current directory is empty except for Makefile and that the six commands are executed in the order shown. write the exact output produced by each group of commands. Note that for each shell command executed by make, the command line is written to stdout and then executed


.SUFFIXES: .x .z
.z.x:
	touch $<
FILE0 = f0.y
FILE1 = f1.y

f0.x: $(FILE0) $(FILE1)
	touch f0.x
f0.y:
	touch f0.y
f1.y:
	touch f1.y
f2.y:
	touch f2.y
f2.z:
	@touch f2.z



questions:

1) make f0.x
	
	touch f0.y
	touch f1.y
	touch f0.x

2) touch f0.y; make

	touch f0.x

3) make FILE1=f2.y

	touch f2.y

4) make f2.z

	[no output]

5) make FILE1=f2.x

	touch f2.z
	touch f0.x