X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2FMakefile;h=562698ebf0ace89ae43da80cf9c92551e857fe41;hb=2d9ad7ff9d46ac8da7fb0d1d350febbe0c24317d;hp=3cb84617d60ac1492f9f3df16682a476f409dff9;hpb=4ed2712bbdac2182c7c0d6477ac77c9f92aaf02a;p=melted diff --git a/src/framework/Makefile b/src/framework/Makefile index 3cb8461..562698e 100644 --- a/src/framework/Makefile +++ b/src/framework/Makefile @@ -1,18 +1,21 @@ -FRAMEWORK_OBJS = mlt_frame.o \ - mlt_property.o \ - mlt_properties.o \ - mlt_service.o \ - mlt_producer.o \ - mlt_multitrack.o \ - mlt_consumer.o \ - mlt_filter.o \ - mlt_transition.o \ - mlt_tractor.o \ - mlt_factory.o \ - mlt_repository.o - -OBJS = $(FRAMEWORK_OBJS) +TARGET = libmlt.so + +OBJS = mlt_frame.o \ + mlt_deque.o \ + mlt_property.o \ + mlt_properties.o \ + mlt_service.o \ + mlt_producer.o \ + mlt_multitrack.o \ + mlt_playlist.o \ + mlt_consumer.o \ + mlt_filter.o \ + mlt_transition.o \ + mlt_field.o \ + mlt_tractor.o \ + mlt_factory.o \ + mlt_repository.o SRCS := $(OBJS:.o=.c) @@ -20,9 +23,9 @@ CFLAGS = -g -Wall -D_FILE_OFFSET_BITS=64 -pthread LDFLAGS = -lm -ldl -lpthread -all: libmlt.so +all: $(TARGET) -libmlt.so: $(OBJS) +$(TARGET): $(OBJS) $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) depend: $(SRCS) @@ -32,7 +35,7 @@ dist-clean: clean rm -f .depend clean: - rm -f $(FRAMEWORK_OBJS) libmlt.so + rm -f $(OBJS) $(TARGET) ifneq ($(wildcard .depend),) include .depend