changed tools/Makefile to also set AR to the system default

This commit is contained in:
CrepeGoat 2023-10-24 22:28:46 -06:00
parent 0431147fdd
commit 8b14062b47
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@ HOST_ENV := $(patsubst MINGW%,MinGW,$(HOST_ENV))
CC := gcc CC := gcc
CXX := g++ CXX := g++
AR := ar
CFLAGS := -I . -I sm64tools -Wall -Wextra -Wno-unused-parameter -pedantic -O2 -s CFLAGS := -I . -I sm64tools -Wall -Wextra -Wno-unused-parameter -pedantic -O2 -s
LDFLAGS := -lm LDFLAGS := -lm
ALL_PROGRAMS := armips textconv patch_elf_32bit aifc_decode aiff_extract_codebook vadpcm_enc tabledesign extract_data_for_mio skyconv ALL_PROGRAMS := armips textconv patch_elf_32bit aifc_decode aiff_extract_codebook vadpcm_enc tabledesign extract_data_for_mio skyconv

View file

@ -1,7 +1,7 @@
CXX := g++ CXX := g++
libaudiofile.a: audiofile.o libaudiofile.a: audiofile.o
ar rcs $@ $^ $(AR) rcs $@ $^
audiofile.o: audiofile.cpp audiofile.h aupvlist.h audiofile.o: audiofile.cpp audiofile.h aupvlist.h
$(CXX) -std=c++11 -O2 -I. -c $< -o $@ $(CXX) -std=c++11 -O2 -I. -c $< -o $@