mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-01 01:27:20 +01:00
77d40d681d
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@50 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
19 lines
407 B
Makefile
19 lines
407 B
Makefile
export SHELL = /bin/sh
|
|
export CFLAGS=-Wall -O3
|
|
export LDFLAGS=-lm -L../src -lvgmstream
|
|
export CC=i586-mingw32msvc-gcc
|
|
export AR=i586-mingw32msvc-ar
|
|
export STRIP=i586-mingw32msvc-strip
|
|
|
|
.PHONY: libvgmstream.a
|
|
|
|
test.exe: libvgmstream.a
|
|
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test.exe
|
|
$(STRIP) test.exe
|
|
|
|
libvgmstream.a:
|
|
$(MAKE) -C ../src libvgmstream.a
|
|
|
|
clean:
|
|
rm -f test.exe
|