X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2FMakefile;h=5ea5606ac763428dad76dfd96cf71170aefe96fa;hb=a4799884f16e60db669cdf7ce6e15f160e3c7613;hp=f37b98132ea9d0e922e0190f8c9cb6c2edd62968;hpb=5b59ce704d4f317e845afa30c5ade12c0fd22d43;p=melted diff --git a/src/modules/core/Makefile b/src/modules/core/Makefile index f37b981..5ea5606 100644 --- a/src/modules/core/Makefile +++ b/src/modules/core/Makefile @@ -1,3 +1,4 @@ +include ../../../config.mak TARGET = ../libmltcore.so @@ -23,7 +24,7 @@ OBJS = factory.o \ ASM_OBJS = composite_line_yuv_mmx.o -CFLAGS = -O3 -DUSE_MMX -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS += -I../.. SRCS := $(OBJS:.o=.c) @@ -44,6 +45,9 @@ dist-clean: clean clean: rm -f $(OBJS) $(ASM_OBJS) $(TARGET) +install: all + install -m 755 $(TARGET) "$(prefix)/share/mlt/modules" + ifneq ($(wildcard .depend),) include .depend endif