1 # libFLAC - Free Lossless Audio Codec library
\r
2 # Copyright (C) 2001 Josh Coalson
\r
4 # This library is free software; you can redistribute it and/or
\r
5 # modify it under the terms of the GNU Library General Public
\r
6 # License as published by the Free Software Foundation; either
\r
7 # version 2 of the License, or (at your option) any later version.
\r
9 # This library is distributed in the hope that it will be useful,
\r
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
\r
12 # Library General Public License for more details.
\r
14 # You should have received a copy of the GNU Library General Public
\r
15 # License along with this library; if not, write to the
\r
16 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
\r
17 # Boston, MA 02111-1307, USA.
\r
19 !include <win32.mak>
\r
25 $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /D FLAC__PRECOMPUTE_PARTITION_SUMS /D FLAC__OVERFLOW_DETECT /GX $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<
\r
28 $(cc) /D FLAC__CPU_IA32 /D FLAC__HAS_NASM /D FLAC__PRECOMPUTE_PARTITION_SUMS /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<
\r
45 stream_encoder_framing.c
\r
49 ia32/fixed_asm.nasm \
\r
52 OBJS= $(C_FILES:.c=.obj) $(NASM_FILES:.nasm=.obj)
\r
56 libFLAC.lib: $(OBJS)
\r
57 link.exe -lib -out:../../obj/lib/$*.lib $(OBJS)
\r
59 ia32/cpu_asm.obj: ia32/cpu_asm.nasm
\r
60 $(NASM) -f win32 -d WIN32 -i ia32/ ia32/cpu_asm.nasm -o ia32/cpu_asm.obj
\r
61 ia32/fixed_asm.obj: ia32/fixed_asm.nasm
\r
62 $(NASM) -f win32 -d WIN32 -i ia32/ ia32/fixed_asm.nasm -o ia32/fixed_asm.obj
\r
63 ia32/lpc_asm.obj: ia32/lpc_asm.nasm
\r
64 $(NASM) -f win32 -d WIN32 -i ia32/ ia32/lpc_asm.nasm -o ia32/lpc_asm.obj
\r
67 -del *.obj ia32\*.obj *.pch
\r
68 -del ..\..\obj\lib\libFLAC.lib ..\..\obj\lib\libFLAC.pdb
\r