1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 18:36:09 +00:00
mpv/libmpeg2/Makefile
arpi_esp d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00

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