consumer_westley.o \
producer_westley.o
-CFLAGS += -I../../ `xml2-config --cflags`
+CFLAGS += -I../..
+CFLAGS += `xml2-config --cflags`
+LDFLAGS += -L../../framework -lmlt
LDFLAGS += `xml2-config --libs`
-LDFLAGS+=-L../../framework -lmlt
-
SRCS := $(OBJS:.o=.c)
all: $(TARGET)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-dist-clean: clean
+distclean: clean
rm -f .depend
clean:
rm -f $(OBJS) $(TARGET)
install: all
- install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
- install -m 644 westley.dtd "$(prefix)/share/mlt/modules"
+ install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+ install -m 644 westley.dtd "$(DESTDIR)$(prefix)/share/mlt"
ifneq ($(wildcard .depend),)
include .depend