#
# Generated By: dol2asm
#

LIBJSTUDIO_JSTAGE_A_CPP_FILES := \
	libs/JSystem/JStudio/JStudio_JStage/control.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object-actor.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object-ambientlight.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object-camera.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object-fog.cpp \
	libs/JSystem/JStudio/JStudio_JStage/object-light.cpp \

LIBJSTUDIO_JSTAGE_A_O_FILES := \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/control.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object-actor.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object-ambientlight.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object-camera.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object-fog.o \
	$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/object-light.o \

LIBJSTUDIO_JSTAGE_A_CFLAGS := \
	-sym on

LIBJSTUDIO_JSTAGE_A_LDFLAGS := \
	-nodefaults \
	-fp hard \
	-proc gekko \
	-linkmode moreram \

$(BUILD_DIR)/libJStudio_JStage.a: $(LIBJSTUDIO_JSTAGE_A_O_FILES)
	@echo linking... $(BUILD_DIR)/libJStudio_JStage.a
	@echo $(LIBJSTUDIO_JSTAGE_A_O_FILES) > build/LIBJSTUDIO_JSTAGE_A_ofiles
	@$(LD) -xm l $(LIBJSTUDIO_JSTAGE_A_LDFLAGS) -o $(BUILD_DIR)/libJStudio_JStage.a @build/LIBJSTUDIO_JSTAGE_A_ofiles

$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.o: libs/JSystem/JStudio/JStudio_JStage/%.cpp $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.d
	@mkdir -p $(@D)
	@echo building... $<
	@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
	@$(CC) $(CFLAGS) $(LIBJSTUDIO_JSTAGE_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).cpp
	@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi

ifndef DISABLE_DEPS
LIBJSTUDIO_JSTAGE_A_D_FILES := $(LIBJSTUDIO_JSTAGE_A_O_FILES:.o=.d)
$(LIBJSTUDIO_JSTAGE_A_D_FILES):
include $(wildcard $(LIBJSTUDIO_JSTAGE_A_D_FILES))
endif

