##################################################################
#
#	Copyright (c) 1992 by Hughes LAN Systems
#
#	Program Name:	Token Ring Concentrator UI Application.
#
#	Description:	The makefile for all the sub-directories
#			under trc/ui 
#
##################################################################
IDIR1	= ../../../i960/include
IDIR2	= ../../../trc/include
IDIR3	= ../include

.include ../../global.mak

LOPT = -I${IDIR3}

#-------------------------------------------------------------------
# TARG OBJECT FILES
#-------------------------------------------------------------------

TARG =	../obj/ui.o

UI_OBJS = main/uimain.o cmd/uicmd.o util/uiutil.o 

${TARG}: foo
	cd main; make REV=${REV}
	cd cmd; make REV=${REV}
	cd util; make REV=${REV}
	${LD} ${ARCH} -o ${TARG} -r ${UI_OBJS}

clean:
	cd main; make clean
	cd cmd;  make clean 
	cd util; make clean 
	rm -f ${TARG} *.o

foo:
