blob: 5d98d2d3bf809877c91e0829827aea5ec03709a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
# You have one .h file, it's called editor.h. Therefore, here I list
# its mocced name, moc_editor.cpp.
nodist_editor_SOURCES = \
moc_editor.cc
# This rule lets GNU make create any moc_*.cpp from the equivalent *.h
moc_%.cc: %.h
moc $< -o $@
|