9dd52cda02c685782288980794d56479e6291ffd
[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_resize.o \
10 transition_composite.o \
11 transition_luma.o
12
13 CFLAGS = -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
14
15 SRCS := $(OBJS:.o=.c)
16
17 all: $(TARGET)
18
19 $(TARGET): $(OBJS)
20 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
21
22 depend: $(SRCS)
23 $(CC) -MM $(CFLAGS) $^ 1>.depend
24
25 dist-clean: clean
26 rm -f .depend
27
28 clean:
29 rm -f $(OBJS) $(TARGET)
30
31 ifneq ($(wildcard .depend),)
32 include .depend
33 endif