]> git.sesse.net Git - mlt/blobdiff - mlt/src/framework/Makefile
miracle part 1
[mlt] / mlt / src / framework / Makefile
index d01ee34749f54d0f98e649b32e3279f32fe1a044..6d804016796e32b2236811a4aea6125612edae11 100644 (file)
@@ -1,20 +1,20 @@
 
-FRAMEWORK_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
-
-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)
 
@@ -22,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)
@@ -34,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