summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/chello_gba/src-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/chello_gba/src-Makefile.am')
-rw-r--r--languages/cpp/app_templates/chello_gba/src-Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/chello_gba/src-Makefile.am b/languages/cpp/app_templates/chello_gba/src-Makefile.am
new file mode 100644
index 00000000..a41e883a
--- /dev/null
+++ b/languages/cpp/app_templates/chello_gba/src-Makefile.am
@@ -0,0 +1,13 @@
+all: %{APPNAMELC}.gba
+
+%{APPNAMELC}.gba: %{APPNAMELC}
+ arm-agb-elf-objcopy -O binary %{APPNAMELC} %{APPNAMELC}.gba
+
+bin_PROGRAMS = %{APPNAMELC}
+%{APPNAMELC}_SOURCES = main.h main.c font.raw.c master.pal.c
+
+# set the include path found by configure
+INCLUDES= $(all_includes)
+
+# the library search path.
+%{APPNAMELC}_LDFLAGS = $(all_libraries)