Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-18 11:59:59 +0000
committerStijn Buys <ingar@osirion.org>2012-02-18 11:59:59 +0000
commit494d3951b8286695e41e8646016be9e7cd331012 (patch)
treee8d68f8774a1ebde502f61d27472e7e595aa9cec /src
parent3260d19a700cdc48399cc87ef07db1957cf2fedf (diff)
Skeleton can be compiled now.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am15
-rw-r--r--src/editor.cc4
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)
+{
+}