producer_colour
[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_luma.o \
11 filter_obscure.o \
12 filter_region.o \
13 filter_resize.o \
14 filter_volume.o \
15 filter_watermark.o \
16 transition_composite.o \
17 transition_luma.o \
18 transition_mix.o \
19 producer_colour.o
20
21 CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
22
23 SRCS := $(OBJS:.o=.c)
24
25 all: $(TARGET)
26
27 $(TARGET): $(OBJS)
28 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
29
30 depend: $(SRCS)
31 $(CC) -MM $(CFLAGS) $^ 1>.depend
32
33 dist-clean: clean
34 rm -f .depend
35
36 clean:
37 rm -f $(OBJS) $(TARGET)
38
39 ifneq ($(wildcard .depend),)
40 include .depend
41 endif