This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to handle a non-compilable file.


Hi,
	I've got an application, which has a line like this is the C++ code
#include "coax.xpm"

where coax.xpm is an XPM format graphics file. If this is changed, the code
should be recompiled, since it will alter the image displayed. However, if I put
it as a file along with my sources in 

atlc_SOURCES atlc.cpp coax.xpm

the compiler will reject it, since it does not know the extension. 

I could of course rename the file to a .cpp file, but that does rather confuse
people, when it is a standard graphics file, which should have the extension
.xpm. 

Suggestions ?


-- 
Dr. David Kirkby PhD,
email: drkirkby@ntlworld.com 
web page: http://www.david-kirkby.co.uk
Amateur radio callsign: G8WRB


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]