forked from narenratan/tuneBfree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (26 loc) · 761 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
39
EXPORTED_VERSION=0.8.12
export EXPORTED_VERSION
FONTFILE ?= verabd.h
export FONTFILE
ROBTK ?= libs/robtk/
ifneq ($(ROBTK),)
RW=$(abspath $(ROBTK))/
export RW
endif
# Make LV2 and CLI
SUBDIRS = b_synth src
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
dist:
git archive --format=tar --prefix=setbfree-$(EXPORTED_VERSION)/ HEAD | gzip -9 > setbfree-$(EXPORTED_VERSION).tar.gz
test:
pytest -v tests
format:
clang-format -i `find . -name '*.cpp' ! -path '*/libs/*'`
formatcheck:
clang-format --dry-run --Werror `find . -name '*.cpp' ! -path '*/libs/*'`
.PHONY: clean all subdirs install uninstall dist doc