summaryrefslogtreecommitdiffstats
path: root/libaf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/Makefile')
-rw-r--r--libaf/Makefile28
1 files changed, 2 insertions, 26 deletions
diff --git a/libaf/Makefile b/libaf/Makefile
index 6d58160786..4d6bebae21 100644
--- a/libaf/Makefile
+++ b/libaf/Makefile
@@ -40,36 +40,12 @@ ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
SRCS+=af_lavcresample.c
endif
-OBJS=$(SRCS:.c=.o)
-
-CFLAGS = -I. -I.. $(LIBAV_INC) $(OPTFLAGS) -D_GNU_SOURCE
+CFLAGS = -I.. $(LIBAV_INC) -D_GNU_SOURCE
ifeq ($(TARGET_OS),MINGW32)
CFLAGS += -D_IO_H_
endif
-.SUFFIXES: .c .o
-
-.c.o:
- $(CC) -c $(CFLAGS) -o $@ $<
-
-$(LIBNAME): $(OBJS) Makefile
- $(AR) r $(LIBNAME) $(OBJS)
- $(RANLIB) $(LIBNAME)
-
$(OBJS):af.h control.h dsp.h filter.h window.h af_mp.h
-all: $(LIBNAME)
-
-clean:
- rm -f *.o *.a *~
-
-distclean: clean
- rm -f .depend
-
-dep depend:
- $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
-
-ifneq ($(wildcard .depend),)
-include .depend
-endif
+include ../mpcommon.mak