summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRudolf Kemmler <[email protected]>2021-05-04 22:53:59 +0200
committerGitHub <[email protected]>2021-05-04 22:53:59 +0200
commit1269ce8a6f42b308102bda451fc96fe3cd8297ce (patch)
treef8fc06419f19619dbd946da5d2192e9b96fdf41b
parenta41ed986bdd97dfa0d60b361b1eb8de1516519f0 (diff)
downloadraylib-1269ce8a6f42b308102bda451fc96fe3cd8297ce.tar.gz
raylib-1269ce8a6f42b308102bda451fc96fe3cd8297ce.zip
modified Makefile.Android.linux in templates/simple_game (#1748)
switched out @echo for @printf to make it actually print newlines instead of literal \n's Co-authored-by: Rudolf Kemmler <[email protected]>
-rw-r--r--templates/simple_game/Makefile.Android.linux6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/simple_game/Makefile.Android.linux b/templates/simple_game/Makefile.Android.linux
index a358b3bb..ed9117f2 100644
--- a/templates/simple_game/Makefile.Android.linux
+++ b/templates/simple_game/Makefile.Android.linux
@@ -201,7 +201,7 @@ copy_project_resources:
cp $(APP_ICON_LDPI) $(PROJECT_BUILD_PATH)/res/drawable-ldpi/icon.png
cp $(APP_ICON_MDPI) $(PROJECT_BUILD_PATH)/res/drawable-mdpi/icon.png
cp $(APP_ICON_HDPI) $(PROJECT_BUILD_PATH)/res/drawable-hdpi/icon.png
- @echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\
+ @printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\
<resources>\n\
<string name=\"app_name\">\n\
$(APP_LABEL_NAME)\n\
@@ -223,7 +223,7 @@ else
nativeloader_sharedlib=
endif
generate_loader_script:
- @echo "package com.$(APP_COMPANY_NAME).$(APP_PRODUCT_NAME);\n\n\
+ @printf "package com.$(APP_COMPANY_NAME).$(APP_PRODUCT_NAME);\n\n\
public class NativeLoader extends android.app.NativeActivity {\n\
static {\n\
$(nativeloader_sharedlib);\n\
@@ -236,7 +236,7 @@ generate_loader_script:
# TODO @jseb: Replace @drawable/icon with @mipmap/icon?
# https://stackoverflow.com/questions/23796414/error-no-resource-found-that-matches-the-given-name-at-icon-with-value-dr
generate_android_manifest:
- @echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\
+ @printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\
<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n\
package=\"com.$(APP_COMPANY_NAME).$(APP_PRODUCT_NAME)\"\n\
android:versionCode=\"$(APP_VERSION_CODE)\" android:versionName=\"$(APP_VERSION_NAME)\">\n\