4 |
# |
# |
5 |
# Edit this file to enable/disable optimizations |
# Edit this file to enable/disable optimizations |
6 |
# |
# |
7 |
# $Id: Makefile.linuxx86,v 1.4 2002-11-16 11:16:09 chl Exp $ |
# $Id: Makefile.linuxx86,v 1.5.2.2 2003-01-13 18:20:20 chl Exp $ |
8 |
# |
# |
9 |
############################################################################# |
############################################################################# |
10 |
|
|
41 |
# PSNR during encoding |
# PSNR during encoding |
42 |
# CFLAGS += -D_DEBUG_PSNR |
# CFLAGS += -D_DEBUG_PSNR |
43 |
|
|
|
# Enable BFrame decoding (still beta) |
|
|
# CFLAGS += -DBFRAMES_DEC |
|
|
|
|
44 |
LIBDIR = /usr/local/lib |
LIBDIR = /usr/local/lib |
45 |
|
|
46 |
ifeq ($(CC),icc) |
ifeq ($(CC),icc) |
60 |
|
|
61 |
|
|
62 |
# General Optimization options |
# General Optimization options |
63 |
# on gcc 2.95 using -Os (which implies -O2) might be faster |
# Optimize code for size (implies -O2) |
64 |
CFLAGS += -O2 |
CFLAGS += -Os |
65 |
# Unroll loops code, this might speed up loops |
# Unroll loops code, this might speed up loops |
66 |
CFLAGS += -funroll-loops |
CFLAGS += -funroll-loops |
67 |
# Generates FPU math code |
# Generates FPU math code |
141 |
%.o: %.asm |
%.o: %.asm |
142 |
$(AS) $(AFLAGS) -I$(<D) $< -o $@ |
$(AS) $(AFLAGS) -I$(<D) $< -o $@ |
143 |
|
|
144 |
|
|
145 |
RM = rm -rf |
RM = rm -rf |
146 |
|
|
147 |
|
|
170 |
install-test: $(LIBSO) |
install-test: $(LIBSO) |
171 |
cp $(LIBSO) $(LIBDIR)/libtestcore.so |
cp $(LIBSO) $(LIBDIR)/libtestcore.so |
172 |
/sbin/ldconfig |
/sbin/ldconfig |
173 |
|
|
174 |
|
install-branch: $(LIBSO) |
175 |
|
cp $(LIBSO) $(LIBDIR)/libxvidbranch.so |
176 |
|
/sbin/ldconfig |
177 |
|
|