File: Makefile

package info (click to toggle)
pd-bsaylor 0.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: ansic: 1,154; makefile: 34
file content (35 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (2)
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
# Makefile to build library 'bsaylor' for Pure Data.
# Needs Makefile.pdlibbuilder as helper makefile for platform-dependent build
# settings and rules.
#
# use : make pdincludepath=/path/to/pure-data/src/
#
# The following command will build the external and install the distributable 
# files into a subdirectory called build/bsaylor :
#
# make install pdincludepath=../pure-data/src/ objectsdir=./build

lib.name = bsaylor

# link statically
FFTW3_CFLAGS =
FFTW3_LIBS = -l:libfftw3.a
FFTW3F_CFLAGS =
FFTW3F_LIBS = -l:libfftw3f.a

objects = aenv~ partconv~ pvoc~ susloop~ svf~ zhzxh~

pvoc~.class.ldlibs = $(FFTW3_LIBS)
partconv~.class.ldlibs = $(FFTW3F_LIBS)

class.sources = $(addsuffix .c,$(objects))

# all extra files to be included in binary distribution of the library
datafiles = $(addsuffix -help.pd,$(objects)) LICENSE.txt README.txt
datadirs = examples

cflags += -Wno-unused -Wno-unused-parameter $(FFTW3_CFLAGS) $(FFTW3F_CFLAGS)

# include Makefile.pdlibbuilder from submodule directory 'pd-lib-builder'
PDLIBBUILDER_DIR=pd-lib-builder/
include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder