blob: 08ff570337f292c3950f979e9caa4a2d11f74f6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#
# Generated By: dol2asm
#
LIBBASE_A_CPP_FILES := \
libs/dolphin/base/PPCArch.c \
LIBBASE_A_O_FILES := \
$(BUILD_DIR)/libs/dolphin/base/PPCArch.o \
LIBBASE_A_CFLAGS := \
-O4,p \
-lang=c \
LIBBASE_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libbase.a: $(LIBBASE_A_O_FILES)
@echo linking... $(BUILD_DIR)/libbase.a
@echo $(LIBBASE_A_O_FILES) > build/LIBBASE_A_ofiles
@$(LD) -xm l $(LIBBASE_A_LDFLAGS) -o $(BUILD_DIR)/libbase.a @build/LIBBASE_A_ofiles
$(BUILD_DIR)/libs/dolphin/base/%.o: libs/dolphin/base/%.c $(BUILD_DIR)/libs/dolphin/base/%.d
@mkdir -p $(@D)
@echo building... $<
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
@$(DOLPHIN_LIB_CC) $(CFLAGS) $(LIBBASE_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
ifndef DISABLE_DEPS
LIBBASE_A_D_FILES := $(LIBBASE_A_O_FILES:.o=.d)
$(LIBBASE_A_D_FILES):
include $(wildcard $(LIBBASE_A_D_FILES))
endif
|