author | Dmitriy Morozov <dmitriy@mrzv.org> |
Fri, 24 Jun 2011 09:57:10 -0700 (2011-06-24) | |
changeset 9 | 6f17855970fc |
parent 7 | a01d4a949adf |
child 10 | 118b5e4e0f9b |
permissions | -rw-r--r-- |
0 | 1 |
# -------------------------------------------------------------------- |
2 |
# Makefile for IpePresenter |
|
3 |
# -------------------------------------------------------------------- |
|
4 |
||
5 |
QT_CFLAGS = -I/usr/include/QtGui -I/usr/include/QtCore |
|
6 |
QT_LIBS = -lQtGui -lQtCore |
|
3
b239dd8c8689
Added notes display (Ipe 7.0.11)
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
1
diff
changeset
|
7 |
CPPFLAGS += $(QT_CFLAGS) |
b239dd8c8689
Added notes display (Ipe 7.0.11)
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
1
diff
changeset
|
8 |
LIBS += -lipeqtcanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS) |
4
f7d6064291f0
Added make install + Monospace font for notes
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
3
diff
changeset
|
9 |
DESTDIR=/usr/bin |
0 | 10 |
|
11 |
OBJECTS = mainwindow.o moc_mainwindow.o canvasview.o moc_canvasview.o \ |
|
7
a01d4a949adf
Switched to Ipe's own PageSelector instead of the internal PageDialog (requires Ipe 7.0.13)
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
4
diff
changeset
|
12 |
timelabel.o moc_timelabel.o |
0 | 13 |
|
14 |
# .INTERMEDIATE: $(OBJECTS) |
|
15 |
||
16 |
all: ipepresenter |
|
17 |
||
18 |
moc_%.cpp: %.h |
|
19 |
moc -o $@ $< |
|
20 |
||
21 |
# %.o: %.cpp |
|
22 |
# g++ $< -c $(CPPFLAGS) |
|
23 |
||
24 |
# moc_%.o: moc_%.cpp |
|
25 |
# g++ $< -c $(CPPFLAGS) |
|
26 |
||
27 |
ui_%.h: %.ui |
|
28 |
uic $< > $@ |
|
29 |
||
30 |
mainwindow.o: mainwindow.cpp ui_mainwindow.h |
|
31 |
g++ $< -c $(CPPFLAGS) |
|
32 |
||
33 |
ipepresenter: $(OBJECTS) |
|
34 |
g++ $+ -o $@ $(LIBS) |
|
35 |
||
4
f7d6064291f0
Added make install + Monospace font for notes
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
3
diff
changeset
|
36 |
install: ipepresenter |
f7d6064291f0
Added make install + Monospace font for notes
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
3
diff
changeset
|
37 |
install -m 755 ipepresenter $(DESTDIR) |
f7d6064291f0
Added make install + Monospace font for notes
Dmitriy Morozov <dmitriy@mrzv.org>
parents:
3
diff
changeset
|
38 |
|
0 | 39 |
clean: |
40 |
rm $(OBJECTS) |