blob: ca93392061784fde403ccf300c378e1f2d933d64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
bin_PROGRAMS = editor
# You have two .cpp files you wrote, editor.cpp and another.cpp
# Remember to include the name of the resource file with the .cpp extension.
editor_SOURCES = \
editor.cc \
editorwindow.cc \
entityproperties.cc \
entitywidget.cc \
inistream.cc \
manipulator.cc \
mainwindow.cc \
mapwidget.cc \
properties.cc \
sidebar.cc \
vector3f.cc \
zoneproperties.cc
# You have one .h file, it's called editor.h. Therefore, here I list
# its mocced name, moc_editor.cpp.
nodist_editor_SOURCES = \
moc_editorwindow.cc \
moc_entitywidget.cc \
moc_manipulator.cc \
moc_mainwindow.cc \
moc_mapwidget.cc \
moc_sidebar.cc
# This rule lets GNU make create any moc_*.cpp from the equivalent *.h
moc_%.cc: %.h
$(QTMOC) $< -o $@
|