File: Makefile

package info (click to toggle)
pd-pool 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: cpp: 2,463; makefile: 31
file content (23 lines) | stat: -rw-r--r-- 533 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
lib.name=pool
cflags=-DFLEXT_ATTRIBUTES=1

# source files
$(lib.name).class.sources = $(wildcard source/*.cpp)

ifneq ($(filter-out 32,$(floatsize)),)
 pd-flext=pd64-flext
else
 pd-flext=pd-flext
endif


PKG_CONFIG ?= pkg-config
cflags+=$(shell $(PKG_CONFIG) --cflags $(pd-flext))
ldlibs=$(shell $(PKG_CONFIG) --libs $(pd-flext))

# help files
datafiles = $(wildcard *.pd)

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