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]

Re: How to handle a non-compilable file.


>>>>> "David" == David Kirkby <drkirkby@ntlworld.com> writes:

David> Incedently, is there a way of sparating the different sources,
David> so make it look clearer. i.e something like

David> CPP = file1.cpp, file2.cpp ..
David> H= file1.h, file2.h ...
David> XPM = file1.xpm, file2.xpm ..
David> atlc_SOURCES = CPP + H + XPM 

You can do this, because you can introduce new variables to do
whatever you want, just like with make.

    CPP = file.cpp
    H = file.h
    atlc_SOURCES = $(CPP) $(H)

Tom


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