tp/libs/dolphin/gx/Makefile

56 lines
1.6 KiB
Makefile

#
# Generated By: dol2asm
#
LIBGX_A_CPP_FILES := \
libs/dolphin/gx/GXInit.cpp \
libs/dolphin/gx/GXFifo.cpp \
libs/dolphin/gx/GXAttr.cpp \
libs/dolphin/gx/GXMisc.cpp \
libs/dolphin/gx/GXGeometry.cpp \
libs/dolphin/gx/GXFrameBuf.cpp \
libs/dolphin/gx/GXLight.cpp \
libs/dolphin/gx/GXTexture.cpp \
libs/dolphin/gx/GXBump.cpp \
libs/dolphin/gx/GXTev.cpp \
libs/dolphin/gx/GXPixel.cpp \
libs/dolphin/gx/GXDisplayList.cpp \
libs/dolphin/gx/GXTransform.cpp \
libs/dolphin/gx/GXPerf.cpp \
LIBGX_A_O_FILES := \
$(BUILD_DIR)/libs/dolphin/gx/GXInit.o \
$(BUILD_DIR)/libs/dolphin/gx/GXFifo.o \
$(BUILD_DIR)/libs/dolphin/gx/GXAttr.o \
$(BUILD_DIR)/libs/dolphin/gx/GXMisc.o \
$(BUILD_DIR)/libs/dolphin/gx/GXGeometry.o \
$(BUILD_DIR)/libs/dolphin/gx/GXFrameBuf.o \
$(BUILD_DIR)/libs/dolphin/gx/GXLight.o \
$(BUILD_DIR)/libs/dolphin/gx/GXTexture.o \
$(BUILD_DIR)/libs/dolphin/gx/GXBump.o \
$(BUILD_DIR)/libs/dolphin/gx/GXTev.o \
$(BUILD_DIR)/libs/dolphin/gx/GXPixel.o \
$(BUILD_DIR)/libs/dolphin/gx/GXDisplayList.o \
$(BUILD_DIR)/libs/dolphin/gx/GXTransform.o \
$(BUILD_DIR)/libs/dolphin/gx/GXPerf.o \
LIBGX_A_CFLAGS := \
LIBGX_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libgx.a: $(LIBGX_A_O_FILES)
@echo linking... $(BUILD_DIR)/libgx.a
@echo $(LIBGX_A_O_FILES) > build/LIBGX_A_ofiles
@$(LD) -xm l $(LIBGX_A_LDFLAGS) -o $(BUILD_DIR)/libgx.a @build/LIBGX_A_ofiles
$(BUILD_DIR)/libs/dolphin/gx/%.o: libs/dolphin/gx/%.cpp
@mkdir -p $(@D)
@echo building... $<
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(LIBGX_A_CFLAGS) -c -o $@ $@.iconv.cpp