Work 01: String Assignment Addendum

posted Oct 6, 2019, 5:02 PM by JonAlf Dyrland-Weaver
  • Look at the two files here:
    • One is the main.c file I used to test my own string functions. If you had trouble with your string tests, look at this and update your own tests.
    • The other is the makefile. Notice the run and clean targets. Makefiles targets don't actually need dependencies, and the rules can be any series of shell commands. It is common for makefiles to have targets that serve similar purposes to run and clean. Run is especially helpful since I will be able to test all your work by doing the following:
      • $ make
      • $ make run
    • Please update your makefiles to at least contain a run target.