This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
## Helloworld C++: an example project using Automake |
| 2 |
|
| 3 |
## Additional flags to pass to aclocal when it is invoked automatically at |
| 4 |
## make time. The ${ACLOCAL_FLAGS} variable is picked up from the environment |
| 5 |
## to provide a way for the user to supply additional arguments. |
| 6 |
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} |
| 7 |
|
| 8 |
## Define an executable target "hello", which will be installed into the |
| 9 |
## directory named by the predefined variable $(bindir). |
| 10 |
bin_PROGRAMS = hello |
| 11 |
|
| 12 |
## Define the list of source files for the "hello" target. The file extension |
| 13 |
## .cc is recognized by Automake, and causes it to produce rules which invoke |
| 14 |
## the C++ compiler to produce an object file (.o) from each source file. The |
| 15 |
## header files (.h) do not result in object files by themselves, but will be |
| 16 |
## included in distribution archives of the project. |
| 17 |
hello_SOURCES = src/hello.h src/hello.cc src/main.cc \ |
| 18 |
src/foofiles/foo.h src/foofiles/foo.cc |
| 19 |
|
| 20 |
## Define an independent executable script for inclusion in the distribution |
| 21 |
## archive. It will not be installed on an end user's system, however. |
| 22 |
dist_noinst_SCRIPTS = autogen.sh |