LoginSignup
6
7

More than 5 years have passed since last update.

【覚書】Makefileの自動生成 - autoconf等の使い方

Posted at

いつも、使うツールと使う順番を忘れるのでメモ

必要となるファイル

Makefile.am
configure.ac

ツールの実行順

Makefile.amを用意する。

$ autoscan

ここで生成されたconfigure.scanを修正する。

$ aclocal
$ automake -a
$ autoheader
$ autoconf
$ ./configure

ここまでで、Makefileが生成されるので、あとはいつもの

make
make install

で実行ファイルがインストールされる。

6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7