forked from pantherb/setBfree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 868 Bytes
/
Makefile
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
29
30
VERSION=0.6.0
export VERSION
include common.mak
SUBDIRS = b_overdrive b_whirl b_reverb b_conv src b_synth
ifeq ($(TCLTKPREFIX),)
$(info "TCL/TK is not available - install tk-dev and tcl-dev to build the GUI")
else
SUBDIRS+=vb3kb
endif
default: all
$(SUBDIRS)::
$(MAKE) -C $@ $(MAKECMDGOALS)
all clean install uninstall: $(SUBDIRS)
doc:
help2man -N --help-option=-H -n 'DSP tonewheel organ' -o doc/setBfree.1 src/setBfree
help2man -N -n 'The B Preamp/Overdrive Emulator' -o doc/jboverdrive.1 b_overdrive/jboverdrive
VB3KBTCL=vb3kb/vb3kb.tcl help2man -N -n 'Virtual Organ - setBfree control GUI' \
--help-option=--help --version-option=--version --no-discard-stderr -o doc/vb3kb.1 vb3kb/vb3kb
dist:
git archive --format=tar --prefix=setbfree-$(VERSION)/ HEAD | gzip -9 > setbfree-$(VERSION).tar.gz
.PHONY: clean all subdirs install uninstall dist doc