aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/3ds/3ds.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/backends/platform/3ds/3ds.mk b/backends/platform/3ds/3ds.mk
index b8961930a6..7cb162ff88 100644
--- a/backends/platform/3ds/3ds.mk
+++ b/backends/platform/3ds/3ds.mk
@@ -3,11 +3,11 @@ TARGET := scummvm
APP_TITLE := ScummVM
APP_DESCRIPTION := Point-and-click adventure game engines
APP_AUTHOR := ScummVM Team
-APP_ICON := backends/platform/3ds/app/icon.png
+APP_ICON := $(srcdir)/backends/platform/3ds/app/icon.png
-APP_RSF := backends/platform/3ds/app/scummvm.rsf
-APP_BANNER_IMAGE:= backends/platform/3ds/app/banner.png
-APP_BANNER_AUDIO:= backends/platform/3ds/app/banner.wav
+APP_RSF := $(srcdir)/backends/platform/3ds/app/scummvm.rsf
+APP_BANNER_IMAGE:= $(srcdir)/backends/platform/3ds/app/banner.png
+APP_BANNER_AUDIO:= $(srcdir)/backends/platform/3ds/app/banner.wav
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
CXXFLAGS += -std=gnu++11
@@ -51,6 +51,10 @@ define shader-as
echo "extern const u32" `(echo $(FILE) | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo $(FILEPATH) | tr . _)`.h
endef
+vpath %.v.pica $(srcdir)
+vpath %.g.pica $(srcdir)
+vpath %.shlist $(srcdir)
+
%.shbin.o : %.v.pica %.g.pica
@echo $(notdir $^)
@$(call shader-as,$^)