Autotools는 linux에서 가장 보편적으로 사용하는 빌드 도구 입니다. configure.ac, Makefile.am, configure, Makefile.in, aclocal.m4 와 같은 폴더구조를 많이 보셨을 겁니다. 이런 구조로 만들어진 빌드 도구를 autotools라고 합니다. Autotools는 automake 또는 autoconf와 헷갈릴 수 있는데, Autotools는 Autoconf, Automake, Libtool, Gettext로 구성되는 것을 Autotools라고 부릅니다. Autotools의 최고 장점은 host, target, toolchain에 큰 의존성이 없이 빌드가 가능하다는 점 입니다. 아래와 같은 순서로 Autotools 환경을 구성할 수 있습니다. 1. Makefile.am 2. configure.ac 3. configure 4. make 아래 가이드는 github에 올려두었으니 참고하시기 바랍니다. $ git clone https://github.com/juwith/simplest-autotools.git $ git checkout 380e0d6d43db10cc6de5ec4dbaceb4337d5d2be4 Makefile.am Makefile.am은 Makefile이 생성될 폴더 위치에 모두 생성합니다. 하나의 bin과 하나의 lib를 생성하는 프로젝트를 생성하는 경우를 예를 들어 봅시다. . ├── Makefile.am ├── src │ ├── hello.c │ ├── hello.h │ └── Makefile.am └── test ├── main.c └── Makefile.am src에 있는 소스는 동적 라이브러리르 생성할 소스고, test에 있는 소스는 바이너리를 생성할 소스 입니다. Makefile.am에는 빌드...