Added IPESOURCE variable to the Makefile
authorDmitriy Morozov <dmitriy@mrzv.org>
Mon, 08 Nov 2010 22:45:19 -0800
changeset 1 14e9780340d7
parent 0 7726fefc58a4
child 2 035dc97b8d04
Added IPESOURCE variable to the Makefile
Makefile
--- a/Makefile	Mon Nov 08 22:42:06 2010 -0800
+++ b/Makefile	Mon Nov 08 22:45:19 2010 -0800
@@ -2,10 +2,12 @@
 # Makefile for IpePresenter
 # --------------------------------------------------------------------
 
+IPESOURCE = $(HOME)/Projects/Ipe/otfried-mod/
+
 QT_CFLAGS = -I/usr/include/QtGui -I/usr/include/QtCore
 QT_LIBS = -lQtGui -lQtCore
-CPPFLAGS += -Iipeqtcanvas $(QT_CFLAGS)
-LIBS += -lipeqtcanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS) -Llib
+CPPFLAGS += -I$(IPESOURCE)/src/ipeqtcanvas $(QT_CFLAGS)
+LIBS += -lipeqtcanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS) -L$(IPESOURCE)/build/lib
 
 OBJECTS = mainwindow.o moc_mainwindow.o canvasview.o moc_canvasview.o \
 		  timelabel.o moc_timelabel.o pagedialog.o moc_pagedialog.o