-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (30 loc) · 1.22 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
#!/usr/bin/make -f
# Makefile to the 'libdir' library for Pure Data.
# Needs Makefile.pdlibbuilder as helper makefile for platform-dependent build
# settings and rules (https://github.com/pure-data/pd-lib-builder).
lib.name = libdir
# special file that does not provide a class
lib.setup.sources =
# all other C and C++ files in subdirs are source files per class
# (alternatively, enumerate them by hand)
class.sources = libdir.c
datafiles = \
TODO.txt \
LICENSE.txt \
README.txt \
libdir-meta.pd
datadirs =
cflags = -DVERSION='"$(lib.version)"'
################################################################################
### pdlibbuilder ###############################################################
################################################################################
# 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 $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder
# target to update the pd-lib-builder
.PHONY: pd-lib-builder
PDLIBBUILDER_VERSION=master
pd-lib-builder:
git subtree pull --prefix pd-lib-builder/ https://github.com/pure-data/pd-lib-builder $(PDLIBBUILDER_VERSION)