[svn] / branches / dev-api-3 / xvidcore / build / generic / Makefile.vc Repository:
ViewVC logotype

Annotation of /branches/dev-api-3/xvidcore/build/generic/Makefile.vc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 805 - (view) (download)

1 : suxen_drol 805 #/**************************************************************************
2 :     # *
3 :     # * Microsoft Visual C command-line makefile
4 :     # *
5 :     # * run vcvars32.bat before attempting compile
6 :     # * use nmake -f Makefile.vc
7 :     # * treat "deltree /y" with care
8 :     # *
9 :     # *
10 :     # * $Id: Makefile.vc,v 1.1.2.1 2003-01-25 06:51:36 suxen_drol Exp $
11 :     # *
12 :     # *************************************************************************/
13 :    
14 :    
15 :     include Makefile.inc
16 :    
17 :    
18 :     CC = cl
19 :     CFLAGS = -DARCH_X86
20 :     CFLAGS = $(CFLAGS) /nologo
21 :    
22 :    
23 :     # enable all warnings
24 :     #CFLAGS = $(CFLAGS) /W9
25 :    
26 :     # favor code size
27 :     #CFLAGS = $(CFLAGS) /Os
28 :     # favor code speed
29 :     #CFLAGS = $(CFLAGS) /Ot
30 :    
31 :     # optimize for i386
32 :     #CFLAGS = $(CFLAGS) /G3
33 :     # optimize for i486
34 :     #CFLAGS = $(CFLAGS) /G4
35 :     # optimize for pentium
36 :     #CFLAGS = $(CFLAGS) /G5
37 :     # optimize for pentium pro
38 :     #CFLAGS = $(CFLAGS) /G6
39 :     # blend optimizations for all cpus
40 :     #CFLAGS = $(CFLAGS) /GB
41 :    
42 :     AS = nasm
43 :     AFLAGS = -f win32 -DPREFIX -DFORMAT_COFF
44 :    
45 :     .asm.o:
46 :     $(AS) $(AFLAGS) -I$(*D) $*.asm -o $@
47 :    
48 :     .c.o:
49 :     $(CC) $(CFLAGS) /c $*.c /Fo$@
50 :    
51 :     RM = deltree /y
52 :    
53 :     all: $(LIB)
54 :    
55 :     $(LIB): $(SRC:.c=.o) $(SRC_INTEL:.asm=.o)
56 :     lib /out:$@ $**
57 :    
58 :     clean:
59 :     $(RM) $(SRCDIR)/*.o
60 :     $(RM) $(SRCDIR)/bitstream/*.o
61 :     $(RM) $(SRCDIR)/dct/*.o
62 :     $(RM) $(SRCDIR)/image/*.o
63 :     $(RM) $(SRCDIR)/motion/*.o
64 :     $(RM) $(SRCDIR)/prediction/*.o
65 :     $(RM) $(SRCDIR)/quant/*.o
66 :     $(RM) $(SRCDIR)/utils/*.o
67 :     $(RM) $(SRCDIR)/bitstream/x86_asm/*.o
68 :     $(RM) $(SRCDIR)/dct/x86_asm/*.o
69 :     $(RM) $(SRCDIR)/image/x86_asm/*.o
70 :     $(RM) $(SRCDIR)/motion/x86_asm/*.o
71 :     $(RM) $(SRCDIR)/quant/x86_asm/*.o
72 :     $(RM) $(SRCDIR)/utils/x86_asm/*.o
73 :     $(RM) $(LIB)
74 :    

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4