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