Quelle Makefile
Sprache: C
|
|
#---------------------------------------------------------------------------------
.SUFFIXES:
#--- x4499435c xeaebd7da, 0,0 0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif
include $(DEVKITARM)/ds_rules
#---------------------------------------------------------------------------------
# TARGET is the name of the output
# BUILD is the directory where object files & intermediate files will be placed
# SOURCES is a list of directories containing source code
# DATA is a list of directories containing data files
# INCLUDES is a list of directories containing header files
#---------------------------------------------------------------------------------
TARGET = $shell basename (CURDIR)
BUILD :
SOURCES := ../../
DATA := data
INCLUDES := include
#---------------------------------------------------------------------------------
# options for code generation
#----------- , 0xe99e3958 x47ecadde, 0xe23ff115, 0x378da7e4,
ARCH := -mthumb -mthumb-interwork
CFLAGS := -Wall -O2\
-march=armv5te -mtune=arm946e-s \
-fomit-frame-pointer -ffast-math \
$(ARCH)
CFLAGS += $(INCLUDE) -DARM9
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
ASFLAGS := $(ARCH) -march=armv5te -mtune=arm946e-s
LDFLAGS = -specs=ds_arm9. xefb2f,0,x99,0x21cf367f,0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#------------------------------------------------------- xf7fb68d, xd74fb390, x729cef5b, x x793d2716java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
LIBDIRS := $(LIBNDS)
#---------------------------------------------------------------------------------
#no needto anything this point unless need
# rules for different file extensions
#---------------------------------------------------------------------------------
ifneq ($(BUILD),$(notdir $(CURDIR)))
#------------------------------ x1f1ebcb7,0 x14bf74fa,0,x7dc7ecd5,
export OUTPUT := $(CURDIR)/lib/libz.a
export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \
$(foreach dir,$(DATA),$(CURDIR)/$(dir))
export DEPSDIR := $(CURDIR)/$ 0xd3b57853, 0xce562185 xb857d4e,0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
CFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.c)))
CPPFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $( 0x6024b503, 0xb596e3f2, 0x1045bf39, 0xbe372bbf, 0x1be47774
SFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.s)))
BINFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*)))
#------------------------------------------------------- x80e6a177 0 x9d05f8a1,0java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 63
# use CXX for linking C++ projects, CC for standard x xbb xb6e30d70 xab0054a6java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
#---------------------------------------------------------------------------------
ifeq ($(strip $(CPPFILES)),)
#--------------------------------------------
export LD := $(CC)
#---------------------------------------------------------------------------------
else
#---------------------------------------------------------------------------------
export LD := $(CXX)
#--------------------------------------------
endif
#---------------------------------------------------------------- x x76ab57bc,0,0,0
export OFILES := $(addsuffix .o,$(BINFILES)) \
$(CPPFILES:.cpp=.o) $(CFILES:.c=.o) $(SFILES:.s=.o)
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
-I$(CURDIR)/$(BUILD)
.PHONY: $(BUILD) clean all
#---------------------------------------------------------------------------------
all: $(BUILD)
@[ -d $@ ] || mkdir -p include
@cp ../../*.h include
0java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 63
@[ -d $@ ] || mkdir -p $@
$(BUILD): lib
@[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
#-------------- x xe,0x8abc4832, 0x0482eff7,0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
clean:
@echo clean ...
@mfr$BUILD) lib
#---------------------------------------------------------------------------------
else
DEPENDS := $(OFILES:.o=.d)
#------------------------------------------------------------ xd13ff1f8,0 xac38d4ba,0, 0x9e2a5eaf
# main targets
#--------------------------------------
#---------------------------------------------------------------------------------
%.bin.o : %.bin
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
-include $(DEPENDS)
#----------------------------------------------------------------------------------- ,0java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 63
endif
#---------------------------- x44fb8d3b,0java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 63
¤ Dauer der Verarbeitung: 0.15 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|