]> git.sesse.net Git - mlt/blob - src/swig/Makefile
b263644376cba1ce1d85a4d001493e3538d3c47c
[mlt] / src / swig / Makefile
1 include ../../config.mak
2 include config.mak
3
4 all clean:
5         list='$(SUBDIRS)'; \
6         for subdir in $$list; do \
7                 if [ -x $$subdir/build -a ! -f .$$subdir -o $@ = clean ] ; \
8                 then echo -n Building $$subdir... ; \
9                         cd $$subdir && output=`CXXFLAGS="$(CXXFLAGS)" ./build $@ 2>&1` ; \
10                         if [ $$? -eq 0 ] ; \
11                         then echo OK && touch ../.$$subdir ; \
12                         else echo $$output && exit 1 ; \
13                         fi ; \
14                         cd .. ; \
15                         if [ -f $$subdir/Makefile -a -f .$$subdir ] ; \
16                         then $(MAKE) -C $$subdir $@ || exit 1 ; \
17                         fi ; \
18                         if [ $@ = clean ] ; \
19                         then rm -f .$$subdir ; \
20                         fi ; \
21                 fi \
22         done
23
24 distclean: clean
25
26 depend:
27
28 install:
29
30 uninstall: