--- a/Makefile Tue Aug 30 09:51:14 2011 -0700
+++ b/Makefile Fri Mar 01 13:21:38 2013 -0800
@@ -8,6 +8,9 @@
LIBS += -lipecanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS)
DESTDIR=/usr/bin
+MOC=moc-qt4
+UIC=uic-qt4
+
OBJECTS = mainwindow.o moc_mainwindow.o canvasview.o moc_canvasview.o \
timelabel.o moc_timelabel.o
@@ -16,7 +19,7 @@
all: ipepresenter
moc_%.cpp: %.h
- moc -o $@ $<
+ $(MOC) -o $@ $<
# %.o: %.cpp
# g++ $< -c $(CPPFLAGS)
@@ -25,7 +28,7 @@
# g++ $< -c $(CPPFLAGS)
ui_%.h: %.ui
- uic $< > $@
+ $(UIC) $< > $@
mainwindow.o: mainwindow.cpp ui_mainwindow.h
g++ $< -c $(CPPFLAGS)