summaryrefslogtreecommitdiff
path: root/examples/c/reccalc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/reccalc/Makefile')
-rw-r--r--examples/c/reccalc/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/c/reccalc/Makefile b/examples/c/reccalc/Makefile
index ff338003..69fc0c08 100644
--- a/examples/c/reccalc/Makefile
+++ b/examples/c/reccalc/Makefile
@@ -4,12 +4,11 @@
BASE = reccalc
BISON = bison
FLEX = flex
-XSLTPROC = xsltproc
all: $(BASE)
%.c %.h %.xml %.gv: %.y
- $(BISON) $(BISONFLAGS) --header --xml --graph=$*.gv -o $*.c $<
+ $(BISON) $(BISONFLAGS) --header --graph -o $*.c $<
%.c %.h: %.l
$(FLEX) $(FLEXFLAGS) -o$*.c --header=$*.h $<
@@ -23,10 +22,6 @@ run: $(BASE)
@echo "Type arithmetic expressions. Quit with ctrl-d."
./$<
-html: parse.html
-%.html: %.xml
- $(XSLTPROC) $(XSLTPROCFLAGS) -o $@ $$($(BISON) --print-datadir)/xslt/xml2xhtml.xsl $<
-
CLEANFILES = \
$(BASE) *.o \
parse.[ch] parse.output parse.xml parse.html parse.gv \