mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-06-05 22:09:21 +02:00
Cleaner Makefile, add Switch build and initial support
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user