-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 871 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
BUILDDIR=build
SOURCE=KBVerb.dsp
INCLUDES=primes.h
PD=$(BUILDDIR)/$(SOURCE:.dsp=~.pd_darwin)
SC=$(BUILDDIR)/$(SOURCE:.dsp=.scx)
AU=$(BUILDDIR)/$(SOURCE:.dsp=.component)
VST=$(BUILDDIR)/$(SOURCE:.dsp=.vst)
MAX=$(BUILDDIR)/$(SOURCE:.dsp=.~mxo)
all: $(PD) $(SC) $(PD) $(MAX) $(VST) $(AU)
$(PD) : $(SOURCE)
cd $(BUILDDIR) && cp ../$(SOURCE) ./ && cp ../$(INCLUDES) ./ && faust2puredata $(SOURCE)
$(SC) : $(SOURCE)
cd $(BUILDDIR) && cp ../$(SOURCE) ./ && cp ../$(INCLUDES) ./ && faust2supercollider $(SOURCE)
$(MAX) : $(SOURCE)
cd $(BUILDDIR) && cp ../$(SOURCE) ./ && cp ../$(INCLUDES) ./ && faust2max6 $(SOURCE)
$(VST) : $(SOURCE)
cd $(BUILDDIR) && cp ../$(SOURCE) ./ && cp ../$(INCLUDES) /usr/local/include && faust2vst $(SOURCE)
$(AU) : $(SOURCE)
cd $(BUILDDIR) && cp ../$(SOURCE) ./ && cp ../$(INCLUDES) ./ && faust2au $(SOURCE)
clean :
rm -rf $(BUILDDIR)/*