[Top][All Lists]

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

Portable prefix pattern rules

From: Brian
Subject: Portable prefix pattern rules
Date: Mon, 5 Sep 2005 14:29:26 -0600

I am trying to find a portable way to replace this rule as given in AutoQt 
[1], which the autotools warn against using:

 SUFFIXES = .moc.cpp

        $(MOC) -o $@ $<

The following doesn't seem to work:

SUFFIXES = .moc.cpp

        $(MOC) -o $@ $<

The only other alternative I see is to enumerate a rule containing the 
actual file names for every single .h to .moc.cpp conversion, of which there 
are hundreds.

Brian Mingus


reply via email to

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