mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
d34041569e
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
36 lines
613 B
Makefile
36 lines
613 B
Makefile
|
|
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
|