sm64/tools/audiofile/Makefile
CrepeGoat a66c44c5a0 made nix-shell for manually creating ROM on aarch64-darwin
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]-*`)
2023-10-24 23:18:49 -06:00

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