$(outdir)/%.o: $(outdir)/%.cc
$(DO_CXX_COMPILE)
-$(outdir)/%.cc: %.y
+$(outdir)/%.cc: %.yy
$(BISON) $<
- mv $(shell basename $@ .cc ).tab.c $@
+ mv $<.tab.c $@
-$(outdir)/%.hh: %.y
+$(outdir)/%.hh: %.yy
$(BISON) -d $<
- mv $(shell basename $@ .hh ).tab.h $@
- mv $(shell basename $@ .hh ).tab.c $(outdir)/$(shell basename $@ .hh).cc
+ mv $<.tab.h $@
+ mv $<.tab.c $(outdir)/$(shell basename $@ .hh).cc
-$(outdir)/%.cc: %.l
+$(outdir)/%.cc: %.ll
$(FLEX) -Cfe -p -p -t $< > $@
# could be faster:
# $(FLEX) -8 -Cf -t $< > $@
touch $@
-# build and config stuff: (could make this generic default rule...)
-#
-%/.build:
- echo 0 > $@
-
-
$(depth)/%.txt: check-doc-deps
rm -f $@
ln `find ${depth}/Documentation -name $@ -print|head -1 ` .