Cleaner Makefile, add Switch build and initial support

This commit is contained in:
2023-11-16 00:52:20 +01:00
parent dcb6aebc27
commit 5d62508f2d
10 changed files with 564 additions and 43 deletions

View File

@@ -19,7 +19,7 @@ include $(DEVKITARM)/ds_rules
#---------------------------------------------------------------------------------
TARGET := $(shell basename $(abspath $(CURDIR)/../..))
BUILD := build
SOURCES := gfx source data source/LibMultiSpacc source/LibMultiSpacc/NDS
SOURCES := gfx source data
INCLUDES := include build
#---------------------------------------------------------------------------------
@@ -32,7 +32,7 @@ CFLAGS := -g -Wall -O2\
-ffast-math \
$(ARCH)
CFLAGS += $(INCLUDE) -DARM9 -DMultiSpacc_Target_NDS
CFLAGS += $(INCLUDE) -DARM9 $(MultiSpacc_Defines)
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := -g $(ARCH)