From 390ac84d51d46517a4b66aae728551baad1add16 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Tue, 13 Nov 2001 21:25:47 +0000 Subject: [PATCH] add ogg support --- src/flac/Makefile.vc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/flac/Makefile.vc b/src/flac/Makefile.vc index 69f736b..5a5435e 100644 --- a/src/flac/Makefile.vc +++ b/src/flac/Makefile.vc @@ -15,14 +15,16 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# NOTE: to remove ogg support, just remove '-DFLAC__HAS_OGG' and 'ogg_static.lib' everywhere. + !include !IFDEF DEBUG .c.obj: - $(cc) $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX /Od /D "_DEBUG" $< + $(cc) $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -DFLAC__HAS_OGG -YX /Od /D "_DEBUG" $< !else .c.obj: - $(cc) /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX -DNODEBUG $< + $(cc) /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -DFLAC__HAS_OGG -YX -DNODEBUG $< !endif C_FILES= \ @@ -37,7 +39,7 @@ OBJS= $(C_FILES:.c=.obj) all: flac.exe flac.exe: $(OBJS) - link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) libFLAC.lib + link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) libFLAC.lib ogg_static.lib clean: -del *.obj *.pch -- 2.7.4