summaryrefslogtreecommitdiffstats
path: root/libmpeg2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2/Makefile')
-rw-r--r--libmpeg2/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/libmpeg2/Makefile b/libmpeg2/Makefile
new file mode 100644
index 0000000000..5e2f8e8cfc
--- /dev/null
+++ b/libmpeg2/Makefile
@@ -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