how to “execute” make file

后端 未结 2 1900
悲哀的现实
悲哀的现实 2021-01-31 15:28

I tried to use a make file in code::blocks but I am doing it wrong. I have the version installed with the compilers included. http://sourceforge.net/projects/codeblocks/files/Bi

2条回答
  •  醉话见心
    2021-01-31 16:04

    You don't tend to execute the make file itself, rather you execute make, giving it the make file as an argument:

    make -f pax.mk
    

    If your make file is actually one of the standard names (like makefile or Makefile), you don't even need to specify it. It'll be picked up by default (if you have more than one of these standard names in your build directory, you better look up the make man page to see which takes precedence).

提交回复
热议问题