mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 07:11:06 -04:00
1114b13da8
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
34 lines
784 B
Makefile
34 lines
784 B
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
LIBAR_A_CPP_FILES := \
|
|
libs/dolphin/ar/ar.c \
|
|
libs/dolphin/ar/arq.c \
|
|
|
|
LIBAR_A_O_FILES := \
|
|
$(BUILD_DIR)/libs/dolphin/ar/ar.o \
|
|
$(BUILD_DIR)/libs/dolphin/ar/arq.o \
|
|
|
|
LIBAR_A_CFLAGS := \
|
|
-O4,p \
|
|
-lang=c \
|
|
|
|
LIBAR_A_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
|
|
$(BUILD_DIR)/libar.a: $(LIBAR_A_O_FILES)
|
|
@echo linking... $(BUILD_DIR)/libar.a
|
|
@echo $(LIBAR_A_O_FILES) > build/LIBAR_A_ofiles
|
|
@$(LD) -xm l $(LIBAR_A_LDFLAGS) -o $(BUILD_DIR)/libar.a @build/LIBAR_A_ofiles
|
|
|
|
$(BUILD_DIR)/libs/dolphin/ar/%.o: libs/dolphin/ar/%.c
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
|
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBAR_A_CFLAGS) -c -o $@ $(basename $@).c
|
|
|