[cvs] / xvidcore / build / generic / Makefile.dj Repository:
ViewVC logotype

Annotation of /xvidcore/build/generic/Makefile.dj

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2.2.2 - (view) (download)

1 : Isibaar 1.1 #/**************************************************************************
2 :     # *
3 : suxen_drol 1.2.2.2 # * DJGPP/MinGW makefile
4 : Isibaar 1.1 # *
5 :     # * treat "deltree /y" with care
6 :     # *
7 : suxen_drol 1.2.2.2 # *
8 :     # * $Id: $
9 :     # *
10 : Isibaar 1.1 # *************************************************************************/
11 :    
12 :    
13 :     include Makefile.inc
14 :    
15 :    
16 :     CC = gcc
17 : suxen_drol 1.2.2.2 CFLAGS = -Wall -DARCH_X86
18 :    
19 : Isibaar 1.1 # CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
20 :     # CFLAGS += -fPIC
21 : suxen_drol 1.2.2.2
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 1.1 # CFLAGS += -march=pentium -mcpu=pentium
30 :     # CFLAGS += -march=pentiumpro -mcpu=pentiumpro
31 : suxen_drol 1.2.2.2
32 :     # Architecture options : Valid for every gcc >= 3.1
33 :     # Uncomment the one which you want to compile for
34 :    
35 :     # 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 : Isibaar 1.1
46 :    
47 :     AS = nasm
48 : suxen_drol 1.2 AFLAGS = -f coff -DPREFIX -DFORMAT_COFF
49 : Isibaar 1.1 %.o: %.asm
50 : suxen_drol 1.2.2.1 $(AS) $(AFLAGS) -I$(<D) $< -o $@
51 : Isibaar 1.1
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 1.2 $(RM) $(SRCDIR)/bitstream/*.o
66 :     $(RM) $(SRCDIR)/dct/*.o
67 : Isibaar 1.1 $(RM) $(SRCDIR)/image/*.o
68 : suxen_drol 1.2 $(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 1.1 $(RM) $(LIB)
79 : suxen_drol 1.2
80 :    

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