File: Makefile

package info (click to toggle)
pd-binfile 0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 428 kB
  • sloc: ansic: 455; makefile: 141; sh: 124; cpp: 19
file content (28 lines) | stat: -rw-r--r-- 949 bytes parent folder | download | duplicates (16)
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
# Makefile to build class 'multiple' for Pure Data.
# Needs Makefile.pdlibbuilder as helper makefile for platform-dependent build
# settings and rules.

# library name
lib.name = multiple

# input source file (class name == source file basename)
class.sources = multipleA.c multipleB.c

# all extra files to be included in binary distribution of the library
datafiles = multiple-help.pd multiple-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 multipleA.$(extension)
	test -e multipleB.$(extension)
installcheck: install
	test -e $(installpath)/multipleA.$(extension)
	test -e $(installpath)/multipleB.$(extension)
	test -e $(installpath)/multiple-help.pd
	test -e $(installpath)/multiple-meta.pd