vgmstream/test/Makefile

15 lines
247 B
Makefile
Raw Normal View History

export SHELL = /bin/sh
export CFLAGS=-Wall -O3
export LDFLAGS=-lm -L../src -lvgmstream
.PHONY: libvgmstream.a
test: libvgmstream.a
$(CC) $(CFLAGS) test.c $(LDFLAGS) -o test
libvgmstream.a:
$(MAKE) -C ../src libvgmstream.a
clean:
rm -f test