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