Hi,

After I switched from Automake 1.5 to 1.6 the following Makefile.am:

    bin_PROGRAMS      = foo
    lib_LTLIBRARIES   = libfoo.la
    foo_SOURCES       = foo.c
    libfoo_la_SOURCES = foo.c

gives

    automake: Makefile.am: object `foo.$(OBJEXT)' created both with
    libtool and without

How can I convince Automake to do what I want (=create exec and library
from exactly the same sources)?

Help appreciated.

Regards
Grzegorz

###################################################################
# Grzegorz Jakacki                         China IC Design Center #
# Senior Engineer, CAD Dept.               1 Gaojiayuan, Chaoyang #
# tel. +86-10-64365577 x2009               Beijing 100015, China  #
# Copyright (C) 2002 Grzegorz Jakacki, CIDC. All Rights Reserved. #
###################################################################


Reply via email to