Computer Science Help Linux VIM help A directory contains t

Computer Science Help! Linux + VIM help!

A directory contains the following files: A.java, A.class, B.java, B.class, C.java, C.class and a Makefile. The only rules in the Makefile are the following:

1) What is (are) the target(s)? _________________________
2) What is (are) the dependency(ies) for the first target? ____________________

3) What is (are) the dependency(ies) for the second target? ____________________

4) what exact file would cause C.java to recompile?

A.class: B.class C.class (1 javac A.java C.class: D.class javac C.java

Solution

1)

A.class and C.class are targets


2) for A.class---B.class and C.class are dependencies


3)for C.class ---D.class is dependencies


4)D.class file

Computer Science Help! Linux + VIM help! A directory contains the following files: A.java, A.class, B.java, B.class, C.java, C.class and a Makefile. The only ru

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site