Parent Directory | Revision Log
Revision 1.2 - (view) (download)
1 : | Isibaar | 1.1 | #/************************************************************************** |
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 : | suxen_drol | 1.2 | AFLAGS = -f coff -DPREFIX -DFORMAT_COFF |
24 : | Isibaar | 1.1 | %.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 : | suxen_drol | 1.2 | $(RM) $(SRCDIR)/bitstream/*.o |
41 : | $(RM) $(SRCDIR)/dct/*.o | ||
42 : | Isibaar | 1.1 | $(RM) $(SRCDIR)/image/*.o |
43 : | suxen_drol | 1.2 | $(RM) $(SRCDIR)/motion/*.o |
44 : | $(RM) $(SRCDIR)/prediction/*.o | ||
45 : | $(RM) $(SRCDIR)/quant/*.o | ||
46 : | $(RM) $(SRCDIR)/utils/*.o | ||
47 : | $(RM) $(SRCDIR)/bitstream/x86_asm/*.o | ||
48 : | $(RM) $(SRCDIR)/dct/x86_asm/*.o | ||
49 : | $(RM) $(SRCDIR)/image/x86_asm/*.o | ||
50 : | $(RM) $(SRCDIR)/motion/x86_asm/*.o | ||
51 : | $(RM) $(SRCDIR)/quant/x86_asm/*.o | ||
52 : | $(RM) $(SRCDIR)/utils/x86_asm/*.o | ||
53 : | Isibaar | 1.1 | $(RM) $(LIB) |
54 : | suxen_drol | 1.2 | |
55 : |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |