diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-18 11:59:59 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-18 11:59:59 +0000 |
commit | 494d3951b8286695e41e8646016be9e7cd331012 (patch) | |
tree | e8d68f8774a1ebde502f61d27472e7e595aa9cec /src | |
parent | 3260d19a700cdc48399cc87ef07db1957cf2fedf (diff) |
Skeleton can be compiled now.
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) +{ +} |