TARGET = ../libmltcore.so OBJS = factory.o \ producer_ppm.o \ filter_brightness.o \ filter_deinterlace.o \ filter_greyscale.o \ filter_gamma.o \ filter_luma.o \ filter_obscure.o \ filter_resize.o \ filter_volume.o \ filter_watermark.o \ transition_composite.o \ transition_luma.o \ transition_mix.o CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread SRCS := $(OBJS:.o=.c) all: $(TARGET) $(TARGET): $(OBJS) $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend dist-clean: clean rm -f .depend clean: rm -f $(OBJS) $(TARGET) ifneq ($(wildcard .depend),) include .depend endif