X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2FMakefile;h=6d804016796e32b2236811a4aea6125612edae11;hb=c63b98c399b13d0672beb9cabba832a71d45a2ea;hp=3cb84617d60ac1492f9f3df16682a476f409dff9;hpb=4ed2712bbdac2182c7c0d6477ac77c9f92aaf02a;p=melted diff --git a/src/framework/Makefile b/src/framework/Makefile index 3cb8461..6d80401 100644 --- a/src/framework/Makefile +++ b/src/framework/Makefile @@ -1,18 +1,20 @@ -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_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 +22,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 +34,7 @@ dist-clean: clean rm -f .depend clean: - rm -f $(FRAMEWORK_OBJS) libmlt.so + rm -f $(OBJS) $(TARGET) ifneq ($(wildcard .depend),) include .depend