X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fnormalize%2FMakefile;h=eaec6eca11c52f34da21cec9d6343c2ee9c9a3f7;hb=30bf05a2dc3d17d9cf87300e07e66828fd729c17;hp=cfec826bc27c09f3f4f905dac149d1938e393277;hpb=de09bd0b00071c23666dc21bb15c619c0c9095d6;p=melted diff --git a/src/modules/normalize/Makefile b/src/modules/normalize/Makefile index cfec826..eaec6ec 100644 --- a/src/modules/normalize/Makefile +++ b/src/modules/normalize/Makefile @@ -1,6 +1,6 @@ include ../../../config.mak -TARGET = ../libmltnormalize.so +TARGET = ../libmltnormalize$(LIBSUF) OBJS = factory.o \ filter_volume.o @@ -14,19 +14,19 @@ 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)$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend