[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
beginners question ?
From: |
Lars Segerlund |
Subject: |
beginners question ? |
Date: |
Mon, 28 Oct 2002 17:14:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 |
I'm just starting to use gnu autotools, and I have some small
problems, I have figured out how to build in some subdirs and to have
resonable include paths, but how do I link with X11 , I'm using automake
and autoconf and have a subdir which contains the source and an Makefile.am
something like this:
src/Makefile.am
<contains>
INCLUDES = -I$(top_builddir) -I$(top_builddir)/lib
bin_PROGRAMS = prog
prog_SOURCES = prog.c prog2.c prog2.h.
And I want it linked with -lX11 ??
Do I add to this file or the toplevel Makefile.am or toplevel
configure.ac ?
/ best regards, Lars Segerlund.
- beginners question ?,
Lars Segerlund <=