tried incorporating n64crc into the build process

This commit is contained in:
farisawan-2000 2020-10-06 13:25:09 -04:00
parent e07f6db33c
commit 4513199452
2 changed files with 8 additions and 4 deletions

View File

@ -672,9 +672,10 @@ void func_801DDAA0_ovl10(s32 arg0) {
extern s32 D_801F42F0[];
// Mostly regall
#ifdef MIPS_TO_C
//generated by mips_to_c commit e0e006e8858ba357d1dcb4dc64f038b7df278aa6
s32 random_soft_s32_range(s32);
// regalloc
#ifdef NON_MATCHING
void func_801DDAC8_ovl10(s32 arg0) {
s32 randInt;
s32 check;

View File

@ -20,7 +20,7 @@ armips: armips.cpp
$(CXX) $(CXXFLAGS) -fno-exceptions -fno-rtti -pipe $^ -o $@ -lpthread $(ARMIPS_FLAGS)
clean:
$(RM) $(PROGRAMS) $(CXXPROGRAMS)
$(RM) $(PROGRAMS) $(CXXPROGRAMS) n64crc
define COMPILE
$(1): $($1_SOURCES)
@ -28,3 +28,6 @@ $(1): $($1_SOURCES)
endef
$(foreach p,$(PROGRAMS),$(eval $(call COMPILE,$(p))))
n64crc: n64crc.c
$(CC) -o $< $@