~ubuntu-branches/ubuntu/feisty/flac/feisty

« back to all changes in this revision

Viewing changes to src/plugin_winamp2/Makefile.vc

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-04-16 15:14:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040416151431-eyloggqxpwbwpogz
Tags: 1.1.0-11
Ensure that libFLAC is linked with -lm on all architectures, and
regardless of whether nasm is present

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  in_flac - Winamp2 FLAC input plugin
2
 
#  Copyright (C) 2000,2001  Josh Coalson
3
 
#
4
 
#  This program is free software; you can redistribute it and/or
5
 
#  modify it under the terms of the GNU General Public License
6
 
#  as published by the Free Software Foundation; either version 2
7
 
#  of the License, or (at your option) any later version.
8
 
#
9
 
#  This program is distributed in the hope that it will be useful,
10
 
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
#  GNU General Public License for more details.
13
 
#
14
 
#  You should have received a copy of the GNU General Public License
15
 
#  along with this program; if not, write to the Free Software
16
 
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
 
 
18
 
!include <win32.mak>
19
 
 
20
 
!IFDEF DEBUG
21
 
.c.obj:
22
 
        $(cc) /GX $(cdebug) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0.2\" -YX /Od /D "_DEBUG" $<
23
 
!else
24
 
.c.obj:
25
 
        $(cc) /O2 $(crelease) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0.2\" -YX -DNODEBUG $<
26
 
!endif
27
 
 
28
 
C_FILES= \
29
 
        in_flac.c
30
 
 
31
 
OBJS= $(C_FILES:.c=.obj)
32
 
 
33
 
all: in_flac.dll
34
 
 
35
 
in_flac.dll: $(OBJS)
36
 
        link.exe /dll /nodefaultlib:libc.lib /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.dll $(OBJS) libFLAC.lib user32.lib kernel32.lib
37
 
 
38
 
clean:
39
 
        -del *.obj *.pch
40
 
        -del ..\..\obj\bin\in_flac.*