Question: Java and Bash Script via VIM In a file called makefile , write the following targets: 1. Download https://www.dropbox.com/s/42frcghjskw7gcy/HelloWorld123.java?dl=0 2. write a compile target called

Java and Bash Script via VIM In a file called makefile, write the following targets:

1. Download https://www.dropbox.com/s/42frcghjskw7gcy/HelloWorld123.java?dl=0 2. write a compile target called HelloWorld123.class 3. write a target called run that runs the class file (java HelloWorld123) Add the appropriate dependency to the target 4. write a target called clean that deletes the class file 5. which of the above targets should we suppress output on? Make them do that 6. which of the above targets should we ignore intermediate failures? Make them do that 7. which of the above targets should we make .PHONY? Make them .PHONY

In a file called makejava, write the following targets: 1. write a compile target that compiles a generic java file (i.e. it uses pattern matching so you can specify an arbitrary class. 2. write a target that runs a generic java class 3. write a target called clean that deletes ALL class files in the current directory 4. handle suppressing output, continuing on intermediate failures, and PHONY as in the previous question The above program should be run as: make -f makejava abc Which will have abc.java compiled and run.

Please explain each step!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!