makefile 1.08 KB
Newer Older
1
# Makefile for mylib
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
2

3
lib.name = disis
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
4

5
class.sources = disis_phasor~.c
Jonathan Wilkes's avatar
Jonathan Wilkes committed
6
disis_munger~.class.sources = disis_munger.c ADSR.c
7
8
define forLinux
    class.sources += disis_netsend.c disis_netreceive.c
9
10
    disis_wiimote.class.sources = disis_wiimote.c
    disis_wiimote.class.ldlibs = $(CWIID_LIB_STATIC) -lbluetooth -lpthread
11
12
13
14
endef
define forDarwin
    class.sources += disis_netsend.c disis_netreceive.c
endef
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
15

16
datafiles = disis_phasor~-help.pd disis_netsend-help.pd disis_netreceive-help.pd disis_wiimote-help.pd disis_wiimote_legacy.pd README patch_name-help.pd patch_name.pd disis-meta.pd
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
17

18
19
20
21
22
23
24
25
26
# IMPORTANT! disis_wiimote requires a custom L2Ork version of cwiid library
# For the time being we statically link to a L2Ork version of cwiid library
# Change this paths if you are compiling disis_wiimote separately from
# the rest of the pd-l2ork source to reflect the correct location of the
# custom L2Ork version of the libcwiid
CWIID_PATH=./cwiid
CWIID_LIB_STATIC= $(CWIID_PATH)/libcwiid/libcwiid.a
CWIID_INCLUDE = -I$(CWIID_PATH)/libcwiid
cflags = $(CWIID_INCLUDE)
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
27

28
include Makefile.pdlibbuilder.revised