[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / utils / ugen / Jmakefile
1 /* SRCS_C is for mkdependC's benefit */
2 /* lex.c is from lex.l
3    syntax.tab.c is from syntax.y
4    tree.c is from tree.u (but a version is provided for bootstrapping)
5
6    if it tries to run "ugen tree.u" while trying to build here, then
7    you are what is technically known as "dead in the water".
8 */
9 YFLAGS = -d
10
11 SRCS_C = main.c gen.c lex.c syntax.tab.c id.c tree.c yyerror.c
12 OBJS_C = main.o gen.o lex.o syntax.tab.o id.o tree.o yyerror.o
13
14 SuffixRule_c_o()
15
16 BuildPgmFromCFiles(ugen,$(OBJS_C),,)
17
18 /* InstallBinaryTarget(ugen,$(INSTBINDIR)) */
19
20 YaccRunWithExpectMsg(syntax,no,no)
21
22 UgenTarget(tree)
23
24 CDependTarget( $(SRCS_C) )
25
26 ExtraStuffToBeVeryClean( $(STD_VERY_CLEAN) lex.c syntax.tab.c syntax.tab.h )