Factory implementation
[melted] / mlt / src / modules / gtk2 / Makefile
1
2 TARGET = ../libmltgtk2.so
3
4 OBJS = factory.o \
5 producer_pixbuf.o
6
7 CFLAGS = `pkg-config gdk-pixbuf-2.0 --cflags` -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread
8
9 LDFLAGS = `pkg-config gdk-pixbuf-2.0 --libs`
10
11 SRCS := $(OBJS:.o=.c)
12
13 all: $(TARGET)
14
15 $(TARGET): $(OBJS)
16 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
17
18 depend: $(SRCS)
19 $(CC) -MM $(CFLAGS) $^ 1>.depend
20
21 dist-clean: clean
22 rm -f .depend
23
24 clean:
25 rm -f $(OBJS) $(TARGET)
26
27 ifneq ($(wildcard .depend),)
28 include .depend
29 endif