summaryrefslogtreecommitdiff
path: root/muse2/lib/synthi/Makefile.am
blob: 37137dd2403d37374f02d78dd9dfe05c82d4a1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all-local: link

SOFTSYNTHDIRS = $(shell find ../../synti -type d \
	\( -not -name obj \
	   -not -name CVS \
	   -not -name ".*" \
	   -not -name synti \))

SOFTSYNTHS = $(notdir $(SOFTSYNTHDIRS))

link:
	find -type l -exec rm {} \;
	for synth in $(SOFTSYNTHS); do \
	  if test -e ../../synti/$${synth}/$${synth}; then \
	    ln -s ../../synti/$${synth}/$${synth} .; \
	  fi; \
	  if test -e ../../synti/$${synth}/$${synth}.so; then \
	    ln -s ../../synti/$${synth}/$${synth}.so .; \
	  fi; \
	done

CLEANFILES = $(SOFTSYNTHS) $(SOFTSYNTHS:%=%.so)