mirror of
https://github.com/n64decomp/sm64.git
synced 2024-10-19 21:17:37 -04:00
changed tools/Makefile to also set AR
to the system default
This commit is contained in:
parent
0431147fdd
commit
8b14062b47
|
@ -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
|
||||||
|
|
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in a new issue