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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 717 - (view) (download)

1 : Isibaar 3 #/**************************************************************************
2 :     # *
3 : suxen_drol 717 # * DJGPP/MinGW makefile
4 : Isibaar 3 # *
5 :     # * treat "deltree /y" with care
6 :     # *
7 : suxen_drol 717 # *
8 :     # * $Id: Makefile.dj,v 1.2.2.2 2002-12-14 08:14:37 suxen_drol Exp $
9 :     # *
10 : Isibaar 3 # *************************************************************************/
11 :    
12 :    
13 :     include Makefile.inc
14 :    
15 :    
16 :     CC = gcc
17 : suxen_drol 717 CFLAGS = -Wall -DARCH_X86
18 :    
19 : Isibaar 3 # CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
20 :     # CFLAGS += -fPIC
21 : suxen_drol 717
22 :     # Architecture options : Valid for every gcc version
23 :     # Uncomment the one which you want to compile for
24 :    
25 :     # CFLAGS += -march=i386 -mcpu=i386
26 :     # CFLAGS += -march=i486 -mcpu=i486
27 :     # CFLAGS += -march=i586 -mcpu=i586
28 :     # CFLAGS += -march=i686 -mcpu=i686
29 : Isibaar 3 # CFLAGS += -march=pentium -mcpu=pentium
30 :     # CFLAGS += -march=pentiumpro -mcpu=pentiumpro
31 :    
32 : suxen_drol 717 # Architecture options : Valid for every gcc >= 3.1
33 :     # Uncomment the one which you want to compile for
34 : Isibaar 3
35 : suxen_drol 717 # CFLAGS += -march=pentium-mmx -mcpu=pentium-mmx
36 :     # CFLAGS += -march=pentium3 -mcpu=pentium3
37 :     # CFLAGS += -march=pentium4 -mcpu=pentium4
38 :     # CFLAGS += -march=athlon -mcpu=athlon
39 :     # CFLAGS += -march=k6 -mcpu=k6
40 :     # CFLAGS += -march=k6-2 -mcpu=k6-2
41 :     # CFLAGS += -march=k6-3 -mcpu=k6-3
42 :     # CFLAGS += -march=athlon-tbird -mcpu=athlon-tbird
43 :     # CFLAGS += -march=athlon-xp -mcpu=athlon-xp
44 :     # CFLAGS += -march=athlon-mp -mcpu=athlon-mp
45 :    
46 :    
47 : Isibaar 3 AS = nasm
48 : suxen_drol 207 AFLAGS = -f coff -DPREFIX -DFORMAT_COFF
49 : Isibaar 3 %.o: %.asm
50 : suxen_drol 631 $(AS) $(AFLAGS) -I$(<D) $< -o $@
51 : Isibaar 3
52 :    
53 :     RM = deltree /y
54 :    
55 :    
56 :     all: $(LIB)
57 :    
58 :    
59 :     $(LIB): $(SRC:.c=.o) $(SRC_INTEL:.asm=.o)
60 :     ar rcs $@ $^
61 :    
62 :    
63 :     clean:
64 :     $(RM) $(SRCDIR)/*.o
65 : suxen_drol 207 $(RM) $(SRCDIR)/bitstream/*.o
66 :     $(RM) $(SRCDIR)/dct/*.o
67 : Isibaar 3 $(RM) $(SRCDIR)/image/*.o
68 : suxen_drol 207 $(RM) $(SRCDIR)/motion/*.o
69 :     $(RM) $(SRCDIR)/prediction/*.o
70 :     $(RM) $(SRCDIR)/quant/*.o
71 :     $(RM) $(SRCDIR)/utils/*.o
72 :     $(RM) $(SRCDIR)/bitstream/x86_asm/*.o
73 :     $(RM) $(SRCDIR)/dct/x86_asm/*.o
74 :     $(RM) $(SRCDIR)/image/x86_asm/*.o
75 :     $(RM) $(SRCDIR)/motion/x86_asm/*.o
76 :     $(RM) $(SRCDIR)/quant/x86_asm/*.o
77 :     $(RM) $(SRCDIR)/utils/x86_asm/*.o
78 : Isibaar 3 $(RM) $(LIB)
79 : suxen_drol 207
80 :    

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