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