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