Skip to content
Questions
Suppоse thаt yоu wаnt tо write а Makefile for P101 with a flattened directory structure. The files are listed below: cs400├── P101│ ├── BinaryNode.java│ ├── BinarySearchTree.java│ ├── Makefile│ ├── RedBlackNode.java│ ├── RedBlackTree.java│ ├── SortedCollection.java│ ├── P101SubmissionChecker.java│ └── TreeTests.java└── junit5.jar Complete the blanks in the partial Makefile below. JUNIT=[junit].PHONY : [phony]all: SortedCollection.class BinaryNode.class BinarySearchTree.class RedBlackNode.class RedBlackTree.classSortedCollection.class: SortedCollection.java javac SortedCollection.javaBinaryNode.class: BinaryNode.java javac BinaryNode.javaBinarySearchTree.class: BinarySearchTree.java SortedCollection.class javac -cp . BinarySearchTree.javaRedBlackNode.class: BinaryNode.class RedBlackNode.java javac -cp . RedBlackNode.javaRedBlackTree.class: [deps] javac -cp . RedBlackTree.javaTreeTests.class: RedBlackTree.class BinarySearchTree.class javac -cp $(JUNIT):. TreeTests.javaP101SubmissionChecker.class: P101SubmissionChecker.java RedBlackTree.class javac -cp $(JUNIT):. P101SubmissionChecker.javatest: TreeTests.class [test]clean: rm -f *.class