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.
35 lines
528 B
35 lines
528 B
15 years ago
|
include ../../../config.mak
|
||
|
include config.mak
|
||
|
|
||
|
TARGET = ../libmltsox$(LIBSUF)
|
||
|
|
||
|
OBJS = factory.o \
|
||
|
filter_sox.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
|