sm64pc/tools/sdk-tools/adpcm/Makefile

19 lines
481 B
Makefile
Raw Normal View History

2019-08-25 06:46:40 +02:00
NATIVE_CC := gcc
NATIVE_CFLAGS := -g -Wall -O2 -Wno-unused-result -Wno-uninitialized
default: native
2020-09-07 04:14:13 +02:00
all: native
2019-08-25 06:46:40 +02:00
native: vadpcm_dec_native vadpcm_enc_native
clean:
2020-09-07 04:14:13 +02:00
$(RM) *.o vadpcm_dec_native vadpcm_enc_native
2019-08-25 06:46:40 +02:00
vadpcm_dec_native: vadpcm_dec.c vpredictor.c sampleio.c vdecode.c util.c
$(NATIVE_CC) $(NATIVE_CFLAGS) $^ -o $@ -lm
vadpcm_enc_native: vadpcm_enc.c vpredictor.c quant.c util.c vencode.c
$(NATIVE_CC) $(NATIVE_CFLAGS) $^ -o $@ -lm
2020-09-07 04:14:13 +02:00
.PHONY: default all native clean