mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-17 20:07:08 +01:00
e5ddad3b1f
.s14 and .sss support. Other builds will probably not build correctly, I'll follow up with something to disable G.722.1 there in a bit. git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@760 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
28 lines
735 B
Makefile
28 lines
735 B
Makefile
export SHELL = /bin/sh
|
|
export CFLAGS=-Wall -O3 -I../ext_includes
|
|
export LDFLAGS=-lm -L../src -L../ext_libs -lvgmstream -lvorbis -lmpg123-0 -lg7221_decode
|
|
export CC=i586-mingw32msvc-gcc
|
|
export AR=i586-mingw32msvc-ar
|
|
export STRIP=i586-mingw32msvc-strip
|
|
|
|
.PHONY: libvgmstream.a libvorbis.a libmpg123-0.a libg7221_decode.a
|
|
|
|
test.exe: libvgmstream.a libvorbis.a libmpg123-0.a libg7221_decode.a
|
|
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test.exe
|
|
$(STRIP) test.exe
|
|
|
|
libvgmstream.a:
|
|
$(MAKE) -C ../src $@
|
|
|
|
libvorbis.a:
|
|
$(MAKE) -C ../ext_libs -f Makefile.mingw $@
|
|
|
|
libmpg123-0.a:
|
|
$(MAKE) -C ../ext_libs -f Makefile.mingw $@
|
|
|
|
libg7221_decode.a:
|
|
$(MAKE) -C ../ext_libs -f Makefile.mingw $@
|
|
|
|
clean:
|
|
rm -f test.exe
|