mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
A correct way of getting version number.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@50 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
f9ed4332f4
commit
77d40d681d
@ -26,7 +26,7 @@ Drop the in_vgmstream.dll in your Winamp plugins directory. There is no
|
||||
configuration or seeking yet.
|
||||
|
||||
---
|
||||
Formats supported by this version of vgmstream ($Revision$):
|
||||
Formats supported by this version of vgmstream:
|
||||
- .adx (CRI ADX ADPCM)
|
||||
- .brstm (RSTM: GC/Wii DSP ADPCM, 8/16 bit PCM)
|
||||
- .strm (STRM: NDS IMA ADPCM, 8/16 bit PCM)
|
||||
|
@ -1,11 +1,12 @@
|
||||
export SHELL = /bin/sh
|
||||
export CFLAGS=-Wall -O3
|
||||
export LDFLAGS=-lm -L../src -lvgmstream
|
||||
export STRIP=strip
|
||||
|
||||
.PHONY: libvgmstream.a
|
||||
|
||||
test: libvgmstream.a
|
||||
$(CC) $(CFLAGS) test.c $(LDFLAGS) -o test
|
||||
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test
|
||||
$(STRIP) test
|
||||
|
||||
libvgmstream.a:
|
||||
|
@ -8,7 +8,7 @@ export STRIP=i586-mingw32msvc-strip
|
||||
.PHONY: libvgmstream.a
|
||||
|
||||
test.exe: libvgmstream.a
|
||||
$(CC) $(CFLAGS) test.c $(LDFLAGS) -o test.exe
|
||||
$(CC) $(CFLAGS) "-DVERSION=\"`../version.sh`\"" test.c $(LDFLAGS) -o test.exe
|
||||
$(STRIP) test.exe
|
||||
|
||||
libvgmstream.a:
|
||||
|
@ -9,7 +9,7 @@ extern char * optarg;
|
||||
extern int optind, opterr, optopt;
|
||||
|
||||
void usage(const char * name) {
|
||||
fprintf(stderr,"vgmstream test decoder $Revision$, $Date$\n"
|
||||
fprintf(stderr,"vgmstream test decoder " VERSION "\n"
|
||||
"Usage: %s [-o outfile.wav] [-l loop count]\n"
|
||||
"\t[-f fade time] [-i] [-p] [-c] [-m] infile\n"
|
||||
"Options:\n"
|
||||
|
@ -8,7 +8,7 @@ export STRIP=i586-mingw32msvc-strip
|
||||
.PHONY: libvgmstream.a
|
||||
|
||||
in_vgmstream.dll: libvgmstream.a
|
||||
$(CC) -shared $(CFLAGS) in_vgmstream.c $(LDFLAGS) -o in_vgmstream.dll
|
||||
$(CC) -shared $(CFLAGS) "-DVERSION=\"`../version.sh`\"" in_vgmstream.c $(LDFLAGS) -o in_vgmstream.dll
|
||||
$(STRIP) in_vgmstream.dll
|
||||
|
||||
libvgmstream.a:
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "../src/util.h"
|
||||
#include "in2.h"
|
||||
|
||||
#define PLUGIN_DESCRIPTION "vgmstream plugin ($Revision$, $Date$)"
|
||||
#define PLUGIN_DESCRIPTION "vgmstream plugin " VERSION
|
||||
|
||||
/* post when playback stops */
|
||||
#define WM_WA_MPEG_EOF WM_USER+2
|
||||
|
Loading…
x
Reference in New Issue
Block a user