-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (28 loc) · 1.03 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
# Makefile for readanysf~
lib.name = readanysf~
class.sources = \
src/readanysf~.cpp
shared.sources = \
src/FifoAudioFrames.cpp \
src/FifoVideoFrames.cpp \
src/ReadMedia.cpp
ldlibs = -lgmerlin_avdec -lgavl
datafiles = \
readanysf~-help.pd \
readanysf~-meta.pd \
README \
LICENSE.md
readanysf~.version := $(shell sed -n \
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' \
readanysf~-meta.pd)
# 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}/readanysf~.${extension}"
localdep_macos: install
scripts/localdeps.macos.sh -d -s "${installpath}/readanysf~.${extension}"
localdep_windows: install
scripts/localdeps.win.sh "${installpath}/readanysf~.${extension}"