# *************************************************************
#	drast	- draw ASTs
# *************************************************************
#***********************************
# (C) Copyright 1992-1993; dit/upm
#  Distributed under the conditions stated in the
#  TOPO General Public License (see file LICENSE)
#***********************************
# $Id: makefile,v 1.25 1995/01/11 12:05:51 lotos Exp $

TOOL=	drast
TRGT=	drast
SRCS=	$(TRGT).c
OBJS=	$(TRGT).o
HS=

INCDIRS= -I$(EPSINC) -I$(TOPOINC)
LIBDIRS= -L$(EPSLIB) -L$(TOPOLIB)
CFLAGS=	$(CF_DBX) $(INCDIRS)

all:	$(TRGT)

$(TRGT):	$(TRGT).c
	$(CC) $(CFLAGS) $(LIBDIRS) -o $@ $(TRGT).c -lcast

install::	$(TRGT)
	cp $(TRGT) $(TOPOBIN)
	chmod a+x $(TOPOBIN)/$(TRGT)
	touch install

clean::
	-rm -f $(TRGT) $(OBJS)
	-rm -f core *~

#----------------------------------------------------------
