summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cppsdlhello/src-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/cppsdlhello/src-Makefile.am')
-rw-r--r--languages/cpp/app_templates/cppsdlhello/src-Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/cppsdlhello/src-Makefile.am b/languages/cpp/app_templates/cppsdlhello/src-Makefile.am
new file mode 100644
index 00000000..3f9fd8bf
--- /dev/null
+++ b/languages/cpp/app_templates/cppsdlhello/src-Makefile.am
@@ -0,0 +1,9 @@
+bin_PROGRAMS = %{APPNAMELC}
+%{APPNAMELC}_SOURCES = %{APPNAMELC}.cpp
+
+# set the include path found by configure
+AM_CPPFLAGS = $(LIBSDL_CFLAGS) $(all_includes)
+
+# the library search path.
+%{APPNAMELC}_LDFLAGS = $(all_libraries) $(LIBSDL_RPATH)
+%{APPNAMELC}_LDADD = $(LIBSDL_LIBS)