#
# Makefile for webster software.
#
# David A. Curry
# Purue University
# davy@ee.purdue.edu
# April, 1986
#

CFLAGS=	-DHESIOD -DSUNRPC -O # -g
DESTDIR=

SUBDIR=	xwebster ttyclient
SERVER= server misc

all: $(SUBDIR)

$(SUBDIR): .FORCE
	cd $@; make $(MFLAGS)

install:
	for i in $(SUBDIR); do \
		(cd $$i; make $(MFLAGS) DESTDIR=$(DESTDIR) install); done

server-install:
	for i in $(SERVER); do \
		(cd $$i; make $(MFLAGS) DESTDIR=$(DESTDIR) install); done
	
clean:
	for i in $(SUBDIR); do (cd $$i; make $(MFLAGS) clean); done

.FORCE:
