fixes
This commit is contained in:
2
day01/.gitignore
vendored
2
day01/.gitignore
vendored
@@ -6,7 +6,7 @@ DerivedData/
|
|||||||
.swiftpm/configuration/registries.json
|
.swiftpm/configuration/registries.json
|
||||||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
||||||
.netrc
|
.netrc
|
||||||
|
.sourcekit-lsp/
|
||||||
build/
|
build/
|
||||||
*.3dsx
|
*.3dsx
|
||||||
*.elf
|
*.elf
|
||||||
|
|||||||
@@ -40,9 +40,7 @@ GRAPHICS := gfx
|
|||||||
GFXBUILD := $(BUILD)
|
GFXBUILD := $(BUILD)
|
||||||
#ROMFS := romfs
|
#ROMFS := romfs
|
||||||
#GFXBUILD := $(ROMFS)/gfx
|
#GFXBUILD := $(ROMFS)/gfx
|
||||||
APP_TITLE := Hello Swift
|
APP_TITLE := $(Target)
|
||||||
APP_DESCRIPTION := Built with Embedded Swift, devkitARM & libctru
|
|
||||||
APP_AUTHOR := Dmitry Serov
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
@@ -74,7 +72,7 @@ LIBDIRS := $(CTRULIB)
|
|||||||
# swift-specific bits
|
# swift-specific bits
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
SWIFTC := ~/.local/share/swiftly/bin/swiftc
|
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 \
|
-target armv6-none-none-eabi -import-objc-header ../$(INCLUDES)/BridgingHeader.h \
|
||||||
-I $(DEVKITPRO)/devkitARM/include -I $(DEVKITPRO)/devkitARM/arm-none-eabi/include
|
-I $(DEVKITPRO)/devkitARM/include -I $(DEVKITPRO)/devkitARM/arm-none-eabi/include
|
||||||
%.o: %.swift
|
%.o: %.swift
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#include <3ds.h>
|
#include <3ds.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
static inline void gspWaitForVBlankWrapper(void) {
|
static inline void gspWaitForVBlankWrapper(void) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user