Dana Vrajitoru
C151 Multi-User Operating Systems

C151 Homework 6

Due date: Monday, March 8, 2021.

Ex. 1. Writing a Makefile

In this homework you will write a Makefile for a Java project composed of several files.

Go to the folder week5 that you created for Lab 5 and Homework 5, and to the folder planets inside it. You have compiled these files manually for Homework 5. Now you'll write a Makefile for them.

Write a Makefile with the following features:

Compile and execute the program using your Makefile. Then modify the file Main.java using any editor you want to print out an explanation message about what the program is doing. Place it before the one function call you'll find in the main. After that, recompile the program with the command make and run it again. Copy these commands and their outcome in a file called hw6.txt.

Canvas Submission

Upload to Canvas, Assignments, Homework 6: