FINALLY fixed not linking properly

This commit is contained in:
pradyun 2023-09-15 10:20:35 +12:00
parent bf849afea6
commit 5629d6aecd
5 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ include $(DEVKITARM)/3ds_rules
#---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR))
BUILD := build
SOURCES := source
SOURCES := source include
DATA := data
INCLUDES := include
GRAPHICS := gfx
@ -94,15 +94,15 @@ BINFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*)))
#---------------------------------------------------------------------------------
# use CXX for linking C++ projects, CC for standard C
#---------------------------------------------------------------------------------
# ifeq ($(strip $(CPPFILES)),)
ifeq ($(strip $(CPPFILES)),)
#---------------------------------------------------------------------------------
# export LD := $(CC)
#---------------------------------------------------------------------------------
# else
else
#---------------------------------------------------------------------------------
export LD := $(CXX)
#---------------------------------------------------------------------------------
# endif
endif
#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------