-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (25 loc) · 879 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
# Makefile for jackpatch
lib.name = jackpatch
class.sources = jackpatch.c
ldlibs = -ljack
define forWindows
ifeq ($(MSYSTEM_CARCH), x86_64)
ldlibs = -ljack64
endif
endef
datafiles = \
jackpatch-help.pd \
jackpatch-meta.pd \
LICENSE.txt \
README.md
# This Makefile is based on the Makefile from pd-lib-builder written by
# Katja Vetter. You can get it from:
# https://github.com/pure-data/pd-lib-builder
PDLIBBUILDER_DIR=pd-lib-builder/
include $(firstword $(wildcard $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder Makefile.pdlibbuilder))
localdep_linux: install
scripts/localdeps.linux.sh -d "${installpath}/jackpatch.${extension}"
localdep_macos: install
scripts/localdeps.macos.sh -d -s "${installpath}/jackpatch.${extension}"
localdep_windows: install
scripts/localdeps.win.sh -I "*\:*windows*libjack*" "${installpath}/jackpatch.${extension}"