[Mplayer-cvslog] CVS: main/libfame Makefile,NONE,1.1
Arpi of Ize
arpi at mplayer.dev.hu
Wed Mar 13 02:14:07 CET 2002
Update of /cvsroot/mplayer/main/libfame
In directory mplayer:/var/tmp.root/cvs-serv20726
Added Files:
Makefile
Log Message:
MPlayer style makefile
--- NEW FILE ---
LIBNAME = libfame.a
include ../config.mak
SRCS = cpuflags.c fame.c fame_decoder_mpeg.c fame_encoder_mpeg.c fame_motion.c fame_motion_fourstep.c fame_motion_none.c fame_motion_pmvfast.c fame_profile_mpeg.c fame_profile_mpeg1.c fame_profile_mpeg4_shape.c fame_profile_mpeg4_simple.c fame_rate.c fame_shape.c fame_syntax_mpeg1.c fame_syntax_mpeg4.c
OBJS = $(SRCS:.c=.o)
CFLAGS = -fexpensive-optimizations -funroll-loops $(OPTFLAGS) -DHAS_MMX -DHAS_BSWAP -DPACKAGE=\"libfame\" -DVERSION=\"0.8.9\" -I.
.SUFFIXES: .c .o
# .PHONY: all clean
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
$(LIBNAME): $(OBJS)
$(AR) r $(LIBNAME) $(OBJS)
all: $(LIBNAME)
test: test.o
$(CC) test.o libfame.a -o test -lm
clean:
rm -f *.o *.a *~
distclean:
rm -f Makefile.bak *.o *.a *~ .depend test
dep: depend
depend:
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
#
# include dependency files if they exist
#
ifneq ($(wildcard .depend),)
include .depend
endif
More information about the MPlayer-cvslog
mailing list