Software for generating the PhysioBank Index 1.0.0

File: <base>/Makefile (620 bytes)
# file: Makefile	G. Moody	5 March 2008
#			Last revised:  13 March 2012
# 'make' description file for creating the PhysioBank index

BINDIR = /usr/local/bin
PBDIR = /home/physionet/html/physiobank/database

# install the software and its configuration files
install:	make-pbi pbindex
	cp -p aftypes sigtypes $(PBDIR)
	cp -p make-pbi pbindex $(BINDIR)

# pbindex reads record names from stdin, writes the index to stdout
pbindex:	pbindex.c
	$(CC) -o pbindex -O pbindex.c -lwfdb

# make-pbi regenerates /home/physionet/html/physiobank/database/physionet-index
physiobank-index:	pbindex
	make-pbi

clean:
	rm -f *~ pbindex