X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Ffezzik%2FMakefile;h=c64c0f2b16e3aa58a18e0152a688fc6ae9fc235a;hb=20bc3a5c2dd597407af2b4f1f4c4ebd75186e35e;hp=1cb292e107d928cf3aafc88cd44578656f7e4558;hpb=36614fdbd3fb3724e58ff4b8402936c3ef7f0071;p=melted diff --git a/src/modules/fezzik/Makefile b/src/modules/fezzik/Makefile index 1cb292e..c64c0f2 100644 --- a/src/modules/fezzik/Makefile +++ b/src/modules/fezzik/Makefile @@ -1,19 +1,21 @@ include ../../../config.mak -TARGET = ../libmltfezzik.so +TARGET = ../libmltfezzik$(LIBSUF) OBJS = factory.o \ producer_fezzik.o \ producer_hold.o -CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS += -I../.. + +LDFLAGS+=-L../../framework -lmlt 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 @@ -27,6 +29,7 @@ clean: install: all install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" install -m 644 ../fezzik.dict "$(prefix)/share/mlt/modules" + install -m 644 ../fezzik.ini "$(prefix)/share/mlt/modules" ifneq ($(wildcard .depend),) include .depend