diff options
author | Cameron Cawley | 2018-11-21 15:01:03 +0000 |
---|---|---|
committer | David Turner | 2018-11-21 15:36:24 +0000 |
commit | e7cb178feb9993e37230aa67223082b6b8858996 (patch) | |
tree | e78c80a4d61f36688f99c5ce2859710650556c10 /backends/platform/3ds | |
parent | 442c578223c153b26bf43ca93167fdc96e3186a2 (diff) | |
download | scummvm-rg350-e7cb178feb9993e37230aa67223082b6b8858996.tar.gz scummvm-rg350-e7cb178feb9993e37230aa67223082b6b8858996.tar.bz2 scummvm-rg350-e7cb178feb9993e37230aa67223082b6b8858996.zip |
3DS: Fix building outside the main source directory
Diffstat (limited to 'backends/platform/3ds')
-rw-r--r-- | backends/platform/3ds/3ds.mk | 12 |
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,$^) |