X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2FMakefile;h=472c5915a70f92ea445233be7b13d4a31ffe14f9;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=58f97f6ddd31052a77cc450ce7a0e88fcaa3e334;hpb=d229cc4caa1e8d06e66ca05aba414455279ae54f;p=melted diff --git a/src/modules/sox/Makefile b/src/modules/sox/Makefile index 58f97f6..472c591 100644 --- a/src/modules/sox/Makefile +++ b/src/modules/sox/Makefile @@ -1,33 +1,34 @@ include ../../../config.mak -TARGET = ../libmltsox.so +CFLAGS += -I../.. -OBJS = factory.o \ - filter_sox.o +LDFLAGS += -L../../framework -lmlt + +include config.mak -CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I../../ -Wall -g \ - `libst-config --cflags` +TARGET = ../libmltsox$(LIBSUF) -LDFLAGS = `libst-config --libs` -lst +OBJS = factory.o \ + filter_sox.o SRCS := $(OBJS:.o=.c) all: $(TARGET) $(TARGET): $(OBJS) - $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS) 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)$(libdir)/mlt" ifneq ($(wildcard .depend),) include .depend