]> git.sesse.net Git - mlt/blob - src/modules/lumas/Makefile
Fix generating luma images when cross-compiling.
[mlt] / src / modules / lumas / Makefile
1 include ../../../config.mak
2 LDFLAGS=
3
4 all:    luma create_lumas
5         @./create_lumas 
6
7 luma:   luma.c
8 # When cross-compiling, use the host OS compiler to build the luma
9 # binary because the files are generated at build time.
10 # Strips the CROSS prefix from the C compiler variable.
11 ifdef CROSS
12         $(subst $(CROSS),,$(CC)) -o $@ luma.c
13 endif
14
15 create_lumas:
16
17 depend:
18
19 distclean:
20         rm -rf PAL NTSC luma 
21
22 clean:
23         rm -f luma 
24
25 install:        all
26         install -d $(DESTDIR)$(mltdatadir)/lumas/PAL
27         install -d $(DESTDIR)$(mltdatadir)/lumas/NTSC
28         install -m 644 PAL/* $(DESTDIR)$(mltdatadir)/lumas/PAL
29         install -m 644 NTSC/* $(DESTDIR)$(mltdatadir)/lumas/NTSC