What should Linux/Unix 'make install' consist of?

后端 未结 3 1374
南笙
南笙 2020-12-07 19:22

I\'ve written a C++ program (command line, portable code) and I\'m trying to release a Linux version at the same time as the Windows version. I\'ve written a makefile as fol

3条回答
  •  心在旅途
    2020-12-07 19:36

    make install is usually the step that "installs" the binary into the correct place.

    For example, when compiling Vim, make install may place it in /usr/local/bin

    Not all Makefiles have a make install

提交回复
热议问题