diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 15 | ||||
-rw-r--r-- | src/editor.cc | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index e69de29..5d98d2d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -0,0 +1,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 $@
\ No newline at end of file diff --git a/src/editor.cc b/src/editor.cc index e69de29..96fe0ea 100644 --- a/src/editor.cc +++ b/src/editor.cc @@ -0,0 +1,4 @@ + +int main(int arc, char ** argv) +{ +} |