mirror of
https://github.com/farisawan-2000/kirby64.git
synced 2024-11-23 13:20:03 +00:00
fixed tools, marked stage table rodata
This commit is contained in:
parent
d4a4a958e3
commit
68cc0dc05e
@ -4830,6 +4830,8 @@ u8 D_800C0B1C[][0x18] = {
|
||||
|
||||
u32 D_800C462C = 0x00000000;
|
||||
|
||||
|
||||
|
||||
u32 D_800C4630 = 0x800A7A40;
|
||||
|
||||
f32 D_800C4634 = 1.5f;
|
||||
|
@ -8085,6 +8085,8 @@ u32 D_800D5DF8 = 0xFF7FFFFF;
|
||||
|
||||
u32 D_800D5DFC = 0xFF7FFFFF;
|
||||
|
||||
|
||||
// stage table rodata
|
||||
char D_800D5E00[] = "M11PLAIN01";
|
||||
|
||||
u32 D_800D5E0C = 0x4D313150;
|
||||
|
@ -1,16 +1,20 @@
|
||||
CC := gcc
|
||||
CFLAGS := -I . -Wall -Wextra -Wno-unused-parameter -pedantic -std=c99 -O3 -s
|
||||
PROGRAMS := iplfontutil n64graphics
|
||||
PROGRAMS := iplfontutil n64graphics n64crc
|
||||
|
||||
iplfontutil_SOURCES := iplfontutil.c
|
||||
iplfontutil_CFLAGS := -O2 # faster compile time
|
||||
|
||||
n64crc_SOURCES := n64crc.c
|
||||
n64crc_CFLAGS := -O2 # faster compile time
|
||||
|
||||
n64graphics_SOURCES := n64graphics.c utils.c
|
||||
n64graphics_CFLAGS := -DN64GRAPHICS_STANDALONE
|
||||
|
||||
ifeq (, $(shell which armips 2> /dev/null))
|
||||
CXX_PROGRAMS += armips
|
||||
endif
|
||||
# who cares if you have armips, just use our version
|
||||
# ifeq (, $(shell which armips 2> /dev/null))
|
||||
CXX_PROGRAMS := armips
|
||||
# endif
|
||||
|
||||
default: all
|
||||
|
||||
@ -20,7 +24,7 @@ armips: armips.cpp
|
||||
$(CXX) $(CXXFLAGS) -fno-exceptions -fno-rtti -pipe $^ -o $@ -lpthread $(ARMIPS_FLAGS)
|
||||
|
||||
clean:
|
||||
$(RM) $(PROGRAMS) $(CXXPROGRAMS) n64crc
|
||||
$(RM) $(PROGRAMS) $(CXXPROGRAMS)
|
||||
|
||||
define COMPILE
|
||||
$(1): $($1_SOURCES)
|
||||
@ -29,5 +33,5 @@ endef
|
||||
|
||||
$(foreach p,$(PROGRAMS),$(eval $(call COMPILE,$(p))))
|
||||
|
||||
n64crc: n64crc.c
|
||||
$(CC) -o $< $@
|
||||
# n64crc: n64crc.c
|
||||
# $(CC) -o $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user