X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fvorbis%2FMakefile;h=74a84d86f85c30e95607c6fb345f0d2d46ed42b2;hb=c12c6c380fa37b6a0d28ce98fdcda487a8aca76d;hp=fd8f12920d6ad2d13eb6756f49841ac34c8f9098;hpb=75288bcb5a5a3925cf8e94ba12f034a0a8fd6758;p=melted diff --git a/src/modules/vorbis/Makefile b/src/modules/vorbis/Makefile index fd8f129..74a84d8 100644 --- a/src/modules/vorbis/Makefile +++ b/src/modules/vorbis/Makefile @@ -1,12 +1,15 @@ +include ../../../config.mak TARGET = ../libmltvorbis.so OBJS = factory.o \ producer_vorbis.o -CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 +CFLAGS += -I../.. -LDFLAGS = -lvorbisfile -lvorbis +LDFLAGS += -lvorbisfile -lvorbis + +LDFLAGS+=-L../../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -24,6 +27,9 @@ dist-clean: clean clean: rm -f $(OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + ifneq ($(wildcard .depend),) include .depend endif