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

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -