Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your impressive work at your internship has won you a return offer at the Galactic Empire. You were but the student; now you are the

image text in transcribed

Your impressive work at your internship has won you a return offer at the Galactic Empire. You were but the student; now you are the master! You are responsible for all Imperial Vehicles's software reliability. The vehicle classes include: ATAT.java ATST.java DeathStar.java *ImperialShuttle.java *StarDestroyer.java TIEBomber.java TIEFighter.java For each of these classes, there is a Tester class that contains all unit tests for the corrsponding vehicle named as (Vehicle) Tester. java ., where (Vehicle) can be replaced by any of the vehicle class name. Write a Makefile that does the following: 1. When type in make (vehicle) .class. the corresponding vehicle class is built, if and only if its Java source file has been updated since the last time it was built 2. When type in make or make vehicles*, each vehicle class will be built (ATAT.class, ATST.class, etc.) if and only if the corresponding Java source file has been updated since the last time that class was built 3. When type in make (vehicle) Tester. class. the corresponding tester class is built, if and only if (Vehicle).java or (Vehicle)Tester.java has been updated since the last time the tester was built 4. When type in make tests. all tester classes will be built (ATATTester.class, ATSTTester.class, etc.),if and only if the corresponding Java source file for that tester or the tested vehicle has been updated since the last time the tester was built 5. when type in 'make clean', all class files will be removed. Your impressive work at your internship has won you a return offer at the Galactic Empire. You were but the student; now you are the master! You are responsible for all Imperial Vehicles's software reliability. The vehicle classes include: ATAT.java ATST.java DeathStar.java *ImperialShuttle.java *StarDestroyer.java TIEBomber.java TIEFighter.java For each of these classes, there is a Tester class that contains all unit tests for the corrsponding vehicle named as (Vehicle) Tester. java ., where (Vehicle) can be replaced by any of the vehicle class name. Write a Makefile that does the following: 1. When type in make (vehicle) .class. the corresponding vehicle class is built, if and only if its Java source file has been updated since the last time it was built 2. When type in make or make vehicles*, each vehicle class will be built (ATAT.class, ATST.class, etc.) if and only if the corresponding Java source file has been updated since the last time that class was built 3. When type in make (vehicle) Tester. class. the corresponding tester class is built, if and only if (Vehicle).java or (Vehicle)Tester.java has been updated since the last time the tester was built 4. When type in make tests. all tester classes will be built (ATATTester.class, ATSTTester.class, etc.),if and only if the corresponding Java source file for that tester or the tested vehicle has been updated since the last time the tester was built 5. when type in 'make clean', all class files will be removed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

Solve for x: a + |bx| Answered: 1 week ago

Answered: 1 week ago