minor changes to linkage
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 9 Nov 2001 00:00:23 +0000 (00:00 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 9 Nov 2001 00:00:23 +0000 (00:00 +0000)
src/libFLAC/Makefile.vc

index 7adc789..81856c8 100644 (file)
@@ -22,10 +22,10 @@ NASM=nasmw
 \r
 !IFDEF DEBUG\r
 .c.obj:\r
-       $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /D FLAC__OVERFLOW_DETECT /GX $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<\r
+       $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /D NO_VFORK /D FLAC__OVERFLOW_DETECT /GX $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<\r
 !else\r
 .c.obj:\r
-       $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<\r
+       $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /D NO_VFORK /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<\r
 !endif\r
 \r
 C_FILES= \\r
@@ -60,7 +60,7 @@ ordinals: ../../include/FLAC/ordinals.h
        sed -e 's/@FLaC__SIZE16@/short/g' -e 's/@FLaC__SIZE32@/int/g' -e 's/@FLaC__SIZE64@/long long/g' -e 's/@FLaC__USIZE16@/unsigned short/g' -e 's/@FLaC__USIZE32@/unsigned int/g' -e 's/@FLaC__USIZE64@/unsigned long long/g' ../../include/FLAC/ordinals.h.in > ../../include/FLAC/ordinals.h\r
 \r
 libFLAC.lib: $(OBJS)\r
-       link.exe -lib -out:../../obj/lib/$*.lib $(OBJS)\r
+       link.exe -lib /nodefaultlib -out:../../obj/lib/$*.lib $(OBJS)\r
 \r
 ia32/cpu_asm.obj: ia32/cpu_asm.nasm\r
        $(NASM) -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/cpu_asm.nasm -o ia32/cpu_asm.obj\r