This commit is contained in:
Andrew Glaze
2025-12-06 22:09:17 -05:00
parent 31100a8daf
commit d943c2d074
4 changed files with 4544 additions and 4542 deletions

View File

@@ -40,9 +40,7 @@ GRAPHICS := gfx
GFXBUILD := $(BUILD)
#ROMFS := romfs
#GFXBUILD := $(ROMFS)/gfx
APP_TITLE := Hello Swift
APP_DESCRIPTION := Built with Embedded Swift, devkitARM & libctru
APP_AUTHOR := Dmitry Serov
APP_TITLE := $(Target)
#---------------------------------------------------------------------------------
# options for code generation
@@ -74,7 +72,7 @@ LIBDIRS := $(CTRULIB)
# swift-specific bits
#---------------------------------------------------------------------------------
SWIFTC := ~/.local/share/swiftly/bin/swiftc
SWIFTFLAGS := -wmo -parse-as-library -enable-experimental-feature Embedded \
SWIFTFLAGS := -wmo -parse-as-library -enable-experimental-feature Embedded \
-target armv6-none-none-eabi -import-objc-header ../$(INCLUDES)/BridgingHeader.h \
-I $(DEVKITPRO)/devkitARM/include -I $(DEVKITPRO)/devkitARM/arm-none-eabi/include
%.o: %.swift