Skip to content

Commit e49e3db

Browse files
committed
add makefile
1 parent 5bcf831 commit e49e3db

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/make -f
2+
3+
include dep/dpf/Makefile.base.mk
4+
5+
PLUGINS = WSTD_DLAY
6+
PREGEN = $(PLUGINS:%=%/plugin/source)
7+
8+
all: build
9+
10+
build: pregen
11+
$(foreach p, $(PLUGINS), $(MAKE) -C $(p);)
12+
mkdir bin
13+
$(foreach p, $(PLUGINS), mv $(p)/bin/* bin/;)
14+
15+
pregen: $(PREGEN)
16+
17+
%/plugin/source: %.json %.pd override/*.*
18+
hvcc $*.pd -m $*.json -n $* -o $* -g dpf -p dep/heavylib/ dep/ --copyright "Copyright (c) Wasted Audio 2023 - GPL-3.0-or-later"
19+
cp override/*.* $*/plugin/source/

0 commit comments

Comments
 (0)