X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2FMakefile;h=7b6c2ab8c0f65b62056558a97bfc2d35692c6a8a;hb=ca2cd08a27aef250b116f3ea2d3b6729f9713933;hp=9e6974167344b9c968482203e7a6364e7c046303;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted diff --git a/src/modules/sox/Makefile b/src/modules/sox/Makefile index 9e69741..7b6c2ab 100644 --- a/src/modules/sox/Makefile +++ b/src/modules/sox/Makefile @@ -5,11 +5,9 @@ TARGET = ../libmltsox$(LIBSUF) OBJS = factory.o \ filter_sox.o -CFLAGS += -I../../ -I/usr/include/sox - -LDFLAGS += -lst -lpopt -lvorbis -logg -lvorbisfile -lvorbisenc - -LDFLAGS+=-L../../framework -lmlt -lmp3lame +CFLAGS += `libst-config --cflags` -I../../ +LDFLAGS += -lst `libst-config --libs` +LDFLAGS += -L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -21,14 +19,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) "$(prefix)/share/mlt/modules" + install -m 755 $(TARGET) "$(DESTDIR)$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend