comport/pd-lib-builder/tests/multiplexx/Makefile
2024-09-26 16:07:53 +02:00

29 lines
975 B
Makefile

# Makefile to build class 'multiplexx' for Pure Data.
# Needs Makefile.pdlibbuilder as helper makefile for platform-dependent build
# settings and rules.
# library name
lib.name = multiplexx
# input source file (class name == source file basename)
class.sources = multiplexxA.cpp multiplexxB.c
# all extra files to be included in binary distribution of the library
datafiles = multiplexx-help.pd multiplexx-meta.pd
# include Makefile.pdlibbuilder
# (for real-world projects see the "Project Management" section
# in tips-tricks.md)
PDLIBBUILDER_DIR=../..
include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder
# simplistic tests whether all expected files have been produced/installed
buildcheck: all
test -e multiplexxA.$(extension)
test -e multiplexxB.$(extension)
installcheck: install
test -e $(installpath)/multiplexxA.$(extension)
test -e $(installpath)/multiplexxB.$(extension)
test -e $(installpath)/multiplexx-help.pd
test -e $(installpath)/multiplexx-meta.pd