makefile - How does the make work when the file is not in target? -


i looking code of libavcodec. makefile of https://github.com/libav/libav/tree/master/libavcodec#. instance, if execute make api-example.c, recognize it. while there no target api-example.c. moreover, when remove makefile directory, recognize target. i'm missing something.

make has number of built-in rules. if file asked make build exists, , there no target file defined gives prerequisite make can check see if it's date, file up-to-date definition: exists, , has no prerequisites.

the way target has no prerequisites can out of date if doesn't exist: has created.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -