add support for new file_utils convenience library
[flac.git] / src / flac / Makefile.vc
index 6bfe5f7..94f9cf5 100644 (file)
 \r
 !IFDEF DEBUG\r
 .c.obj:\r
-       $(cc) $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0.4_beta\" -DFLAC__HAS_OGG -YX /Od /D "_DEBUG" $<\r
+       $(cc) -DFLAC__NO_DLL $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DFLAC__HAS_OGG -YX /Od /D "_DEBUG" $<\r
 !else\r
 .c.obj:\r
-       $(cc) /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0.4_beta\" -DFLAC__HAS_OGG -YX -DNODEBUG $<\r
+       $(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DFLAC__HAS_OGG -YX -DNODEBUG $<\r
 !endif\r
 \r
 C_FILES= \\r
        analyze.c \\r
        decode.c \\r
        encode.c \\r
-       file.c \\r
        main.c \\r
        vorbiscomment.c\r
 \r
@@ -40,7 +39,7 @@ OBJS= $(C_FILES:.c=.obj)
 all: flac.exe\r
 \r
 flac.exe: $(OBJS)\r
-       link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) libOggFLAC.lib libFLAC.lib ogg_static.lib getopt.lib utf8.lib\r
+       link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) replaygain.lib libOggFLAC.lib libFLAC.lib ogg_static.lib gain_analysis.lib getopt.lib utf8.lib file_utils.lib\r
 \r
 clean:\r
        -del *.obj *.pch\r