watermark added, minor mods to mlt framework required
[melted] / src / modules / core / Makefile
1
2 TARGET = ../libmltcore.so
3
4 OBJS = factory.o \
5 producer_ppm.o \
6 filter_brightness.o \
7 filter_deinterlace.o \
8 filter_greyscale.o \
9 filter_gamma.o \
10 filter_obscure.o \
11 filter_resize.o \
12 filter_volume.o \
13 filter_watermark.o \
14 transition_composite.o \
15 transition_luma.o \
16 transition_mix.o
17
18 CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
19
20 SRCS := $(OBJS:.o=.c)
21
22 all: $(TARGET)
23
24 $(TARGET): $(OBJS)
25 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
26
27 depend: $(SRCS)
28 $(CC) -MM $(CFLAGS) $^ 1>.depend
29
30 dist-clean: clean
31 rm -f .depend
32
33 clean:
34 rm -f $(OBJS) $(TARGET)
35
36 ifneq ($(wildcard .depend),)
37 include .depend
38 endif