X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2FMakefile;h=472c5915a70f92ea445233be7b13d4a31ffe14f9;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=33e9865211a0746d8146a8e30f72dbb25665d84e;hpb=34c7916b96a65dbfb6d9414aca781d6292474f98;p=melted diff --git a/src/modules/sox/Makefile b/src/modules/sox/Makefile index 33e9865..472c591 100644 --- a/src/modules/sox/Makefile +++ b/src/modules/sox/Makefile @@ -1,14 +1,16 @@ include ../../../config.mak +CFLAGS += -I../.. + +LDFLAGS += -L../../framework -lmlt + +include config.mak + TARGET = ../libmltsox$(LIBSUF) OBJS = factory.o \ filter_sox.o -CFLAGS += `libst-config --cflags` -I../../ -LDFLAGS += -lst `libst-config --libs` -LDFLAGS += -L../../framework -lmlt - SRCS := $(OBJS:.o=.c) all: $(TARGET) @@ -19,14 +21,14 @@ $(TARGET): $(OBJS) 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) "$(DESTDIR)$(prefix)/share/mlt/modules" + install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" ifneq ($(wildcard .depend),) include .depend