make install part 1
[melted] / src / modules / xine / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltxine.so
4
5 OBJS = factory.o \
6 deinterlace.o \
7 cpu_accel.o \
8 filter_deinterlace.o
9
10 CFLAGS = -O3 -I../../ -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -DARCH_X86
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 install: all
29 install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
30
31 ifneq ($(wildcard .depend),)
32 include .depend
33 endif