Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dinfuehr/autotools-demo
https://github.com/dinfuehr/autotools-demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dinfuehr/autotools-demo
- Owner: dinfuehr
- Created: 2014-03-26T15:09:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-30T17:48:55.000Z (over 10 years ago)
- Last Synced: 2024-10-13T20:45:25.171Z (2 months ago)
- Language: C
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
autotools-demo
==============This project should demonstrate basic usage of the GNU autotools.
## example0
The simplest configuration, only `configure.ac`.```
autoreconf -i
./configure
```## example1
Compile file `main.c` which includes `config.h`.```
autoreconf -i
./configure
make
```## example2
Compile `src/main.c`.```
sh autogen.sh
./configure
make
```# External build
It is also possible to build the project from other directories:```
cd $PROJECT
mkdir example2-build
cd example2-build
../example2/configure
make
```