mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
3DS: Fix building outside the main source directory
This commit is contained in:
parent
442c578223
commit
e7cb178feb
@ -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,$^)
|
||||
|
Loading…
Reference in New Issue
Block a user