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 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3