From 494d3951b8286695e41e8646016be9e7cd331012 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Feb 2012 11:59:59 +0000 Subject: Skeleton can be compiled now. --- src/Makefile.am | 15 +++++++++++++++ src/editor.cc | 4 ++++ 2 files changed, 19 insertions(+) (limited to 'src') 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) +{ +} -- cgit v1.2.3