aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 66924659df6dc8b8b24149a08fbb16ae391aed7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Makefile.am -- Process this file with automake to produce Makefile.in
##

AUTOMAKE_OPTIONS = foreign
#AUTOMAKE_OPTIONS = no-dependencies foreign
ACLOCAL_AMFLAGS  = -I m4/generated -I m4
AM_CPPFLAGS	 = -I$(top_srcdir)/../../../pd/src

externaldir = $(libdir)/pd/extra/wiimote

external_LTLIBRARIES = wiimote.la

SOURCES = wiimote.c
dist_external_DATA = wiimote-help.pd

wiimote_la_SOURCES = $(SOURCES)
wiimote_la_CFLAGS = @ARCH_CFLAGS@ @PD_CFLAGS@
wiimote_la_LIBADD = $(LIBM)
wiimote_la_LDFLAGS = -module -avoid-version -shared @ARCH_LDFLAGS@ @PD_LDFLAGS@


libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck