1#!/usr/bin/make
2
3-include gitversion.mak
4export RW=../robtk/
5
6###############################################################################
7
8VERSION ?=$(shell date +%Y%m%d)
9SUBDIRS = \
10          balance.lv2 \
11          controlfilter.lv2 \
12          darc.lv2 \
13          dpl.lv2 \
14          convoLV2 \
15          fat1.lv2 \
16          fil4.lv2 \
17          matrixmixer.lv2 \
18          meters.lv2 \
19          mididebug.lv2 \
20          midifilter.lv2 \
21          midigen.lv2 \
22          midimap.lv2 \
23          mixtri.lv2 \
24          nodelay.lv2 \
25          onsettrigger.lv2 \
26          phaserotate.lv2 \
27          sisco.lv2 \
28          spectra.lv2 \
29          stepseq.lv2 \
30          stereoroute.lv2 \
31          testsignal.lv2 \
32          tuna.lv2 \
33          xfade.lv2 \
34          zconvo.lv2
35
36
37all clean install uninstall: submodule_check $(SUBDIRS)
38
39$(SUBDIRS)::
40	$(MAKE) -C $@ $(MAKECMDGOALS)
41
42###############################################################################
43
44dist:
45	$(MAKE) -f Makefile.git dist
46
47submodule_check:
48	-test -d .git -a .gitmodules -a -f Makefile.git && $(MAKE) -f Makefile.git submodule_check
49
50submodules:
51	-test -d .git -a .gitmodules -a -f Makefile.git && $(MAKE) -f Makefile.git submodules
52
53tagupdate:
54	-test -d .git -a .gitmodules -a -f Makefile.git && $(MAKE) -f Makefile.git tagupdate
55
56.PHONY: dist submodule_check submodules tagupdate
57