Week 7 Class 14 Thu Oct 08 Posted: Oct 08
After Class
Before Class
Exercise 26: Makefile
Feedback is in the file Report1.md in the branch feedback in your Build Files repository. You can view this at GitHub. Look where it indicates the current branch, select the branch feedback and you will see the file Report1.md. If you want to compare it, look at the Report1.md from build-files-f26-020.
We will continue to add to this code in another exercise. If you have lots of problems, then get my current version at build-files-f26-020. Then put that into your Makefile and save it. Finally, commit that to your repository with the following command:
Do not deviate from this commit message as it will cause problems when I grade it.
Exercise 26: Makefile The demo that I did build-files-f26-020 included a diagrams branch with Makefile dependency graphs generated from the current version of the Makefile. This was done via a GitHub Action.
I decided to add these diagrams to your repository. So if you look at your repo, there is a diagrams branch with a diagram for each commit that changes the Makefile. It is not automated, so as you perform commits it will not automatically update the diagrams, but I will run the script periodically during class.
To automate this, we would need to add a GitHub Action. That has to be on the main branch, so you would have a commit, and would need to git pull before you made any more commits. To avoid potential confusion, it is not an action.
Announcements
Class
Exercise 32: Makefile Dependency Diagram
Using the feedback in Brightspace for Exercise 31: Team Text Match, correct your diagram. If you got a 10 / 10 with the feedback "Correct", you do not have to do anything to receive full credit. For all other cases, correct your diagram or you will receive a 0 on this exercise.
Exercise 33: Makefile II
This is a continuation of Exercise 26: Makefile. Use the same repository as before. Code along and make the same commits with the same commit messages as I do in class.
$@, $<, and $^srccomplexityCMake
CMakeLists.txt CMake file for the Build Files example
To download to your repository:
Unless stated otherwise, all exercises are due by 4 pm on Mon Oct 12