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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (view) (download)

1 : Isibaar 3 #/**************************************************************************
2 :     # *
3 :     # * djgpp makefile
4 :     # *
5 :     # * treat "deltree /y" with care
6 :     # *
7 :     # *************************************************************************/
8 :    
9 :    
10 :     include Makefile.inc
11 :    
12 :    
13 :     CC = gcc
14 :     CFLAGS = -Wall -DARCH_X86
15 :     # CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer
16 :     # CFLAGS += -fPIC
17 :     # CFLAGS += -m486
18 :     # CFLAGS += -march=pentium -mcpu=pentium
19 :     # CFLAGS += -march=pentiumpro -mcpu=pentiumpro
20 :    
21 :    
22 :     AS = nasm
23 :     AFLAGS = -f coff -DPREFIX
24 :     %.o: %.asm
25 :     $(AS) $(AFLAGS) $< -o $@
26 :    
27 :    
28 :     RM = deltree /y
29 :    
30 :    
31 :     all: $(LIB)
32 :    
33 :    
34 :     $(LIB): $(SRC:.c=.o) $(SRC_INTEL:.asm=.o)
35 :     ar rcs $@ $^
36 :    
37 :    
38 :     clean:
39 :     $(RM) $(SRCDIR)/*.o
40 :     $(RM) $(SRCDIR)/common/*.o
41 :     $(RM) $(SRCDIR)/decoder/*.o
42 :     $(RM) $(SRCDIR)/encoder/*.o
43 :     $(RM) $(SRCDIR)/image/*.o
44 :     $(RM) $(SRCDIR)/common/intel_mmx/*.o
45 :     $(RM) $(SRCDIR)/decoder/intel_mmx/*.o
46 :     $(RM) $(SRCDIR)/encoder/intel_mmx/*.o
47 :     $(RM) $(SRCDIR)/image/intel_mmx/*.o
48 :     $(RM) $(LIB)

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