What is a 'make target'?

后端 未结 4 500
我寻月下人不归
我寻月下人不归 2021-02-07 01:26

Why do I need to make a make target before being able to build my source code?

More specifically, what is make target exactly?

4条回答
  •  悲&欢浪女
    2021-02-07 02:10

    A makefile will usually include code to make your program, install your program, clean up afterward, and other things.

    so the word target could be various keywords, such as all, install, clean, etc.

    It's a way of saying make something. make all implies do everything

提交回复
热议问题