2008-03-10 19:20:40 +00:00
|
|
|
export SHELL = /bin/sh
|
|
|
|
export CFLAGS=-Wall -O3
|
|
|
|
export LDFLAGS=-lm -L../src -lvgmstream
|
2008-03-14 13:11:14 +00:00
|
|
|
export STRIP=strip
|
2008-01-31 06:15:03 +00:00
|
|
|
|
2008-03-10 19:20:40 +00:00
|
|
|
.PHONY: libvgmstream.a
|
2008-01-31 06:15:03 +00:00
|
|
|
|
2008-03-10 19:20:40 +00:00
|
|
|
test: libvgmstream.a
|
2008-03-14 13:11:14 +00:00
|
|
|
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test
|
2008-03-11 05:40:29 +00:00
|
|
|
$(STRIP) test
|
2008-03-10 19:20:40 +00:00
|
|
|
|
|
|
|
libvgmstream.a:
|
|
|
|
$(MAKE) -C ../src libvgmstream.a
|
2008-02-06 00:27:51 +00:00
|
|
|
|
2008-01-31 06:15:03 +00:00
|
|
|
clean:
|
2008-03-10 19:20:40 +00:00
|
|
|
rm -f test
|