Mercurial > mplayer.hg
diff libmpeg2/Makefile @ 1:3b5f5d1c5041
Initial revision
author | arpi_esp |
---|---|
date | Sat, 24 Feb 2001 20:28:24 +0000 |
parents | |
children | f0f2a9174225 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpeg2/Makefile Sat Feb 24 20:28:24 2001 +0000 @@ -0,0 +1,35 @@ + +LIBNAME = libmpeg2.a + +include ../config.mak + +SRCS = decode.c header.c idct.c idct_mmx.c motion_comp.c motion_comp_mmx.c slice.c stats.c +OBJS = decode.o header.o idct.o idct_mmx.o motion_comp.o motion_comp_mmx.o slice.o stats.o +CFLAGS = $(OPTFLAGS) -DMPG12PLAY +INCLUDE = -I. -I../libvo -I.. + +.SUFFIXES: .c .o + +# .PHONY: all clean + +.c.o: + $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< + +$(LIBNAME): $(OBJS) + $(AR) r $(LIBNAME) $(OBJS) + +all: $(LIBNAME) + +clean: + rm -f *.o *.a *~ + +distclean: + makedepend + rm -f Makefile.bak *.o *.a *~ + +dep: depend + +depend: + makedepend -- $(CFLAGS) -- $(SRCS) &> /dev/null + +# DO NOT DELETE