diff --git a/Makefile b/Makefile index 9b1195d..c4ed7bc 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ lib.name = comport +with-bird=no + class.sources = comport.c datafiles = \ @@ -13,6 +15,13 @@ datafiles = \ 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