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.
38 lines
603 B
38 lines
603 B
15 years ago
|
include ../../../config.mak
|
||
|
|
||
|
TARGET = ../libmltplus$(LIBSUF)
|
||
|
|
||
|
OBJS = factory.o \
|
||
|
filter_affine.o \
|
||
|
filter_charcoal.o \
|
||
|
filter_invert.o \
|
||
|
filter_sepia.o \
|
||
|
transition_affine.o
|
||
|
|
||
|
CFLAGS += -I../..
|
||
|
|
||
|
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
|