forked from pantherb/setBfree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 883 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
31
32
33
34
35
36
37
38
EXPORTED_VERSION=0.8.11
export EXPORTED_VERSION
ifneq ($(FONTFILE),)
export FONTFILE
endif
ifneq ($(wildcard robtk/robtk.mk),)
ROBTK ?= robtk/
endif
ifneq ($(ROBTK),)
RW=$(abspath $(ROBTK))/
export RW
endif
ifneq ($(MOD),)
SUBDIRS = b_whirl b_synth
else
SUBDIRS = b_overdrive b_whirl b_reverb b_conv b_chorato src b_synth ui
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 Whirl Speaker' -o doc/x42-whirl.1 b_whirl/x42-whirl
-help2man -N -n 'The B Preamp/Overdrive Emulator' -o doc/jboverdrive.1 b_overdrive/jboverdrive
dist:
git archive --format=tar --prefix=setbfree-$(EXPORTED_VERSION)/ HEAD | gzip -9 > setbfree-$(EXPORTED_VERSION).tar.gz
.PHONY: clean all subdirs install uninstall dist doc