# file: makefile	G. Moody	29 January 1996
#
# UNIX `make' description file for miscellaneous MIMIC DB applications
#
# Copyright(C) Massachusetts Institute of Technology 1996. All rights reserved.

APPS=annsort lab2ann rdacexp rdtxt txt2dat
BINDIR=/usr/local/bin

all:		$(APPS)
	strip $(APPS)
install:	all
	cp -p $(APPS) $(BINDIR)
	cd $(BINDIR); chmod 755 $(APPS)

annsort:	annsort.c
	$(CC) -o annsort -O annsort.c -ldb
lab2ann:	lab2ann.c
	$(CC) -o lab2ann -O lab2ann.c -ldb
rdacexp:	rdacexp.c
	$(CC) -o rdacexp -O rdacexp.c
rdtxt:		rdtxt.c
	$(CC) -o rdtxt -O rdtxt.c -ldb
txt2dat:	txt2dat.c
	$(CC) -o txt2dat -O txt2dat.c -ldb

clean:
	rm -f $(APPS) *~
