CFLAGS += -I../.. LDFLAGS += -L../../framework -lmlt -lm include ../../../config.mak TARGET = ../libmltplusgpl$(LIBSUF) OBJS = factory.o \ filter_burn.o \ image.o \ utils.o \ filter_rotoscoping.o \ cJSON.o \ filter_telecide.o SRCS := $(OBJS:.o=.c) all: $(TARGET) $(TARGET): $(OBJS) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend distclean: clean rm -f .depend clean: rm -f $(OBJS) $(TARGET) install: all install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)" install -d $(DESTDIR)$(mltdatadir)/plusgpl install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/plusgpl" ifneq ($(wildcard .depend),) include .depend endif