automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: non-recursive project example


From: Robert Collins
Subject: RE: non-recursive project example
Date: Tue, 23 Apr 2002 20:40:29 +1000

Here's one..
I've got another more complete example with installable libraries and
headers if needed, but it's somewhat longer. This is a trimmed down file
from a current project.

Rob

## Process this file with automake to produce Makefile.in
#
# $Id: Makefile.am,v 1.3 2002/01/13 14:16:17 robertc Exp $
#

AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects VERSION=1.5
DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*

bin_PROGRAMS = foo

noinst_LTLIBRARIES = src/bar.la 

INCLUDES = -I $(top_srcdir)/include

noinst_HEADERS = include/bar.h 

foo_SOURCES = src/foo.cc 
foo_LDADD = src/bar.la 

src_bar_la_SOURCES = src/bar.cc
src_bar_la_LDFLAGS = -module




reply via email to

[Prev in Thread] Current Thread [Next in Thread]