[project @ 1997-03-24 03:01:59 by sof]
[ghc-hetmet.git] / ghc / utils / ugen / Makefile
1 #-----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.4 1997/03/24 03:02:09 sof Exp $
3
4 TOP=../..
5 include $(TOP)/mk/boilerplate.mk
6 override WAYS=
7
8 YACC_OPTS += -d
9 C_SRCS = syntax.tab.c lex.c id.c tree.c yyerror.c gen.c main.c
10 C_PROG = ugen
11 LIBS = $(FLEX_LIB)
12
13 CLEAN_FILES += syntax.tab.c syntax.tab.h
14
15 #
16 # Include flex & bison output in the source distribution.
17 #
18 SRC_DIST_FILES+= lex.c syntax.tab.c syntax.tab.h
19
20 include $(TOP)/mk/target.mk
21
22 #
23 # Needed quite early in the booting of the compiler, so
24 # build it right away.
25 #
26 boot :: all