automake
[Top][All Lists]
Advanced

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

Re: c file used as a make file


From: Paul Elliott
Subject: Re: c file used as a make file
Date: Tue, 22 Mar 2011 09:01:49 -0500
User-agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.5.1; i686; ; )

On Tuesday, March 22, 2011 01:54:33 am Paul Elliott wrote:
> I have a c library that currently uses an old style Makefile that I want to
> convert to auto*tools.
> 
> One .c file is used as a .h file. That is, it is included by another .c
> file and it should not be itself compiled. Why the author did this I do
> not know, but I do not want to change the author's source or change or
> rename any files.
> 
> How do I tell auto*tools to treat this file as a .h file? That is, do not
> try to compile this file itself, and do include it in the files to be
> distributed.
> 
> Thank You

Can I write a rule for the .lo that has to be compiled with the wierd
include that would explictly list the .c file as a dependancy? How would I do 
that?

Thank You.

-- 
Paul Elliott                               1(512)837-1096
address@hidden               PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/   Austin TX 78758-3117

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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