autoconf
[Top][All Lists]
Advanced

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

Automake & objects in subdirs


From: Frank A. Uepping
Subject: Automake & objects in subdirs
Date: Tue, 5 Aug 2003 21:11:08 +0200

Hello,
I have the following directory layout:
src/
  bar.c
src/common
  foo.c

The program foobar should be build as follows (dependency):
foobar: bar.c common/foo.c
That is, in order to build foobar, foo.c has to be compiled first
and then linked with bar.o to foobar.

Can automake handle such a directory layout?
What have to go into the src/Makefile.am and src/common/Makefile.am?

/FAU








reply via email to

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