view examples/puredata/Makefile.am @ 47:c20e91e86f08

xtract_magnitude_spectrum() and xtract_peaks() share format of N/2 frequency values and N/2 magnitude coefficients. 'Fixed' xtract_loudness() so that N=1 can be used for specific loudness.
author Jamie Bullock <jamie@postlude.co.uk>
date Thu, 21 Dec 2006 11:31:51 +0000
parents b2e7e24c9a9c
children ee2e1acbf2a8
line wrap: on
line source

SUFFIXES = .@PD_SUFFIX@
PDDIR = $(prefix)/lib/pd
pddir = $(PDDIR)

## Make and install the shared library.
pdinstalldir = $(pddir)/extra
pdinstallrefdir = $(pddir)/doc/5.reference
pdinstallexpdir = $(pddir)/doc/xtract

pdinstall_PROGRAMS = xtract.@PD_SUFFIX@

xtract_@PD_SUFFIX@_SOURCES = xtract~.c

pdincludedir = $(pddir)/src

INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)

AM_CFLAGS = @PD_CFLAGS@
AM_LDFLAGS = @PD_LDFLAGS@ -lxtract -L$(top_builddir)/src/
		
## Install the documentation.

install:
	install -d $(pdinstalldir)
	install -m 644 $(top_builddir)/examples/puredata/.libs/xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@
	install -d $(pddir)/doc/5.reference/xtract
	cp xtract/* $(PDDIR)/doc/5.reference/xtract