4 |
# |
# |
5 |
# Edit this file to enable/disable optimizations |
# Edit this file to enable/disable optimizations |
6 |
# |
# |
7 |
# $Id: Makefile.linux,v 1.6 2002-07-19 09:56:59 edgomez Exp $ |
# $Id: Makefile.linux,v 1.6.2.4 2002-12-14 08:14:37 suxen_drol Exp $ |
8 |
# |
# |
9 |
############################################################################# |
############################################################################# |
10 |
|
|
43 |
# (Use only if you know what you're doing !) |
# (Use only if you know what you're doing !) |
44 |
# PSNR during encoding |
# PSNR during encoding |
45 |
# CFLAGS += -D_DEBUG_PSNR |
# CFLAGS += -D_DEBUG_PSNR |
|
# BFRAMES encoding |
|
|
# CFLAGS += -DBFRAMES |
|
|
# BFRAMES decoding |
|
|
# CFLAGS += -DBFRAMES_DEC |
|
46 |
|
|
47 |
LIBDIR = /usr/local/lib |
LIBDIR = /usr/local/lib |
48 |
|
|
135 |
############################################################################# |
############################################################################# |
136 |
|
|
137 |
%.o: %.asm |
%.o: %.asm |
138 |
$(AS) $(AFLAGS) $< -o $@ |
$(AS) $(AFLAGS) -I$(<D) $< -o $@ |
139 |
|
|
140 |
RM = rm -rf |
RM = rm -rf |
141 |
|
|
158 |
|
|
159 |
install: libxvidcore.so |
install: libxvidcore.so |
160 |
cp libxvidcore.so $(LIBDIR) # you have to bee root for this |
cp libxvidcore.so $(LIBDIR) # you have to bee root for this |
161 |
|
cp $(SRCDIR)/xvid.h /usr/local/include |
162 |
/sbin/ldconfig |
/sbin/ldconfig |
163 |
|
|
164 |
install-test: libxvidcore.so # if you don't want to overwrite previous compile |
install-test: libxvidcore.so # if you don't want to overwrite previous compile |