X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fvorbis%2FMakefile;h=6720b313aa152c75d9f5c8a9e5ffdd2f0744d971;hb=34c7916b96a65dbfb6d9414aca781d6292474f98;hp=74a84d86f85c30e95607c6fb345f0d2d46ed42b2;hpb=de09bd0b00071c23666dc21bb15c619c0c9095d6;p=melted diff --git a/src/modules/vorbis/Makefile b/src/modules/vorbis/Makefile index 74a84d8..6720b31 100644 --- a/src/modules/vorbis/Makefile +++ b/src/modules/vorbis/Makefile @@ -1,6 +1,6 @@ include ../../../config.mak -TARGET = ../libmltvorbis.so +TARGET = ../libmltvorbis$(LIBSUF) OBJS = factory.o \ producer_vorbis.o @@ -16,7 +16,7 @@ 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 @@ -28,7 +28,7 @@ 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