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 36 37
|
# Makefile for iemnet
lib.name = comport
with-bird=no
class.sources = comport.c
comport.version := $(shell sed -n \
's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' \
comport-meta.pd)
cflags = -DVERSION='"$(comport.version)"'
datafiles = \
comport-help.pd \
comport-meta.pd \
comport-stress-test.pd \
CHANGES.txt \
LICENSE.txt \
README.txt \
$(empty)
ifeq ($(with-bird),yes)
class.sources += bird/bird.c
datafiles += bird/bird-help.pd
endif
# This Makefile is based on the Makefile from pd-lib-builder written by
# Katja Vetter. You can get it from:
# https://github.com/pure-data/pd-lib-builder
PDLIBBUILDER_DIR=pd-lib-builder/
include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder
|