mirror of
https://github.com/n64decomp/sm64
synced 2026-05-11 00:28:02 +00:00
Working commands: - `gmake VERSION=us` - `gmake VERSION=us COMPILER=gcc` TODOS - remove dirty change: `ar` should not be directly referenced -> move current `$(AR)` to `$(AR_CROSS)` and leave `$(AR)` intact? - add support for arbitrary build platforms (e.g., `*-linux`) - (?) add support for other host platforms (e.g., `mips[64]-*`)
13 lines
201 B
Makefile
13 lines
201 B
Makefile
CXX := g++
|
|
|
|
libaudiofile.a: audiofile.o
|
|
ar rcs $@ $^
|
|
|
|
audiofile.o: audiofile.cpp audiofile.h aupvlist.h
|
|
$(CXX) -std=c++11 -O2 -I. -c $< -o $@
|
|
|
|
clean:
|
|
$(RM) audiofile.o libaudiofile.a
|
|
|
|
.PHONY: clean
|