Optimisations (part 0), pixel v percentage, reworked aspect ratio calcs, ante/post...
[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 filter_brightness.o
16
17 CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
18
19 SRCS := $(OBJS:.o=.c)
20
21 all: $(TARGET)
22
23 $(TARGET): $(OBJS)
24 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
25
26 depend: $(SRCS)
27 $(CC) -MM $(CFLAGS) $^ 1>.depend
28
29 dist-clean: clean
30 rm -f .depend
31
32 clean:
33 rm -f $(OBJS) $(TARGET)
34
35 ifneq ($(wildcard .depend),)
36 include .depend
37 endif