mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
change test building
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@54 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
978af45aa2
commit
315d70e415
@ -5,10 +5,13 @@ export STRIP=strip
|
||||
|
||||
.PHONY: libvgmstream.a
|
||||
|
||||
test: libvgmstream.a
|
||||
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test
|
||||
test: libvgmstream.a test.o
|
||||
$(CC) test.o $(LDFLAGS) -o test
|
||||
$(STRIP) test
|
||||
|
||||
test.o:
|
||||
$(CC) $(CFLAGS) -c "-DVERSION=\"`../version.sh`\"" test.c -o test.o
|
||||
|
||||
libvgmstream.a:
|
||||
$(MAKE) -C ../src libvgmstream.a
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user