vgmstream/test/Makefile
halleyscometsw 90f0dccd9c AIX.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@385 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-08-02 10:24:28 +00:00

19 lines
389 B
Makefile

export SHELL = /bin/sh
export CFLAGS=-Wall -ggdb
export LDFLAGS=-lm -L../src -lvgmstream -lvorbisfile -lmpg123
export STRIP=strip
.PHONY: libvgmstream.a
test: libvgmstream.a test.o
$(CC) test.o $(LDFLAGS) $(CFLAGS) -o test
test.o: test.c
$(CC) $(CFLAGS) -c "-DVERSION=\"`../version.sh`\"" test.c -o test.o
libvgmstream.a:
$(MAKE) -C ../src libvgmstream.a
clean:
rm -f test test.o