1 # This Makefile is designed to be simple and readable. It does not
2 # aim at portability. It requires GNU Make.
10 %.c
%.h
%.xml
%.gv
: %.y
11 $(BISON
) $(BISONFLAGS
) --header
--graph
-o
$*.c
$<
14 $(FLEX
) $(FLEXFLAGS
) -o
$*.c
--header
=$*.h
$<
18 $(BASE
): parse.o scan.o
19 $(CC
) $(CFLAGS
) -o
$@
$^
22 @echo
"Type arithmetic expressions. Quit with ctrl-d."
27 parse.
[ch
] parse.output parse.xml parse.html parse.gv \