You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mlt/src/modules/dv/Makefile

37 lines
597 B

include ../../../config.mak
TARGET = ../libmltdv$(LIBSUF)
OBJS = factory.o \
producer_libdv.o \
consumer_libdv.o
CFLAGS += `pkg-config --cflags libdv` -I../..
LDFLAGS += `pkg-config --libs libdv`
LDFLAGS+=-L../../framework -lmlt
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)$(prefix)/lib/mlt/modules"
ifneq ($(wildcard .depend),)
include .depend
endif