It's UWAweek 10 (1st semester, week 2)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 2 other people reading this forum.


 UWA week 43 (2nd semester, study break) ↓
SVG not supported

Login to reply

👍?
helpful
11:50am Wed 25th Oct, Christopher M.

ANONYMOUS wrote:
> Let's say something changes in calcmarks.h and if calcmarks.o requires rebuilding, it will recompile have calcmarks.c and our source code (check?) will realise we have undefined function variables.
Keep in mind that make does not understand (or perform) any compiling or linking - it simply determines (reads) what relationships exist, and then executes actions (shell commands). There's not even any requirement that the actions produce the target (though they usually do). So if we have:
x.o: y.h
     action
then make doesn't know of any relationship between x.o and y.h, and there's no required C file. But if y.h is newer than x.o, or if x.o does not exist, then the actions are executed.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy