mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 10:16:39 +00:00
Makefile: build as a C++ project.
Yes, we'll be using Borealis.
This commit is contained in:
parent
3cb6ef93aa
commit
1e58ed4f8a
3 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -54,6 +54,8 @@ INCLUDES := include
|
|||
EXEFS_SRC := exefs_src
|
||||
ROMFS := romfs
|
||||
|
||||
ICON := $(ROMFS)/icon.jpg
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -68,7 +70,7 @@ CFLAGS += `aarch64-none-elf-pkg-config libxml-2.0 --cflags`
|
|||
CFLAGS += `aarch64-none-elf-pkg-config json-c --cflags`
|
||||
CFLAGS += `aarch64-none-elf-pkg-config libturbojpeg --cflags`
|
||||
|
||||
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
|
||||
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=c++1z -O2 -Wno-volatile
|
||||
|
||||
ASFLAGS := -g $(ARCH)
|
||||
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
|
||||
|
|
0
romfs/.gitignore
vendored
0
romfs/.gitignore
vendored
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Loading…
Reference in a new issue