blob: 2cadb03c7c89e39064a4ab52a4fb495bc20009e7 [file] [log] [blame]
Jeff Thompsonff092f52013-06-19 13:38:12 -07001## Helloworld C++: an example project using Automake
2
3## Place generated object files (.o) into the same directory as their source
4## files, in order to avoid collisions when non-recursive make is used.
5AUTOMAKE_OPTIONS = subdir-objects
6
7## Additional flags to pass to aclocal when it is invoked automatically at
8## make time. The ${ACLOCAL_FLAGS} variable is picked up from the environment
9## to provide a way for the user to supply additional arguments.
10ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
11
12## Define an executable target "hello", which will be installed into the
13## directory named by the predefined variable $(bindir).
14bin_PROGRAMS = test1
15
16## Define the list of source files for the "hello" target. The file extension
17## .cpp is recognized by Automake, and causes it to produce rules which invoke
18## the C++ compiler to produce an object file (.o) from each source file. The
19## header files (.h) do not result in object files by themselves, but will be
20## included in distribution archives of the project.
21test1_SOURCES = test/test1.cpp
22
23## Define an independent executable script for inclusion in the distribution
24## archive. It will not be installed on an end user's system, however.
25dist_noinst_SCRIPTS = autogen.sh