help-make
[Top][All Lists]
Advanced

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

Problem with MOC-related (Qt) objects


From: Cesar Crusius
Subject: Problem with MOC-related (Qt) objects
Date: Mon, 22 May 2006 10:20:42 -0700
User-agent: KMail/1.9.1

The third rule never seems to make into GNU Make (running with -p doesn't show 
it at all). Any clues? I read and reread section 10.8 from my printed manual 
and I am still at loss at why doesn't this work.

# "Normal" objects
$(objdir)/%.o: $(srcdir)/%.cpp
address@hidden(make-dir)
address@hidden -f $@
........$(compile-cpp)

# Source file for MOC objects
$(objdir)/moc/%.cpp: $(srcdir)/%.h
address@hidden(make-dir)
address@hidden -f $@
........$(moc_pre) $(moc)

# Objects from MOC-ed sources
$(objdir)/moc/%.o: $(objdir)/moc/%.cpp
address@hidden(make-dir)
address@hidden -f $@
........$(compile-cpp)


Best,

- Cesar




reply via email to

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