-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
42 lines (28 loc) · 1.3 KB
/
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
40
41
42
#!/usr/bin/make -f
# Makefile for max-gen-skeleton #
# ----------------------------- #
# Created by falkTX
#
include source/dpf/Makefile.base.mk
# ---------------------------------------------------------------------------------------------------------------------
ifeq (,$(wildcard plugin/gen_exported.cpp))
$(error "Please copy gen_exported.cpp and gen_exported.h to the plugin folder")
endif
ifeq (,$(wildcard source/.plugin-info))
$(error "Please run setup.sh before trying to build this repository")
endif
# ---------------------------------------------------------------------------------------------------------------------
all: plugin gen
# ---------------------------------------------------------------------------------------------------------------------
plugin:
$(MAKE) all -C source
gen: plugin source/dpf/utils/lv2_ttl_generator
@$(CURDIR)/source/dpf/utils/generate-ttl.sh
source/dpf/utils/lv2_ttl_generator:
$(MAKE) -C source/dpf/utils/lv2-ttl-generator
# ---------------------------------------------------------------------------------------------------------------------
clean:
$(MAKE) clean -C source
$(MAKE) clean -C source/dpf/utils/lv2-ttl-generator
# ---------------------------------------------------------------------------------------------------------------------
.PHONY: plugin