GradePack

    • Home
    • Blog
Skip to content

Suppose that you want to write a Makefile for P101 with a fl…

Posted byAnonymous July 8, 2026

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

Tags: Accounting, Basic, qmb,

Post navigation

Previous Post Previous post:
Suppose the git graph of a local repository looks like this:…
Next Post Next post:
Assess the balance factor (as defined for AVL trees) for eac…

GradePack

  • Privacy Policy
  • Terms of Service
Top