TOPDIR = .. include $(TOPDIR)/rules.mk SUBDIRS = compiler DISTFILES = Makefile bootstrap: compare stage1: Makefile $(CONFIG) all rm -rf stage1 mkdir -p stage1 cp -p ../compiler/*.rf stage1/ cp -p ../compiler/*.rfi stage1/ # cp -p ../compiler/gendeps.sh stage1/ cp -p ../compiler/Makefile stage1/ $(MAKE) -C stage1 all \ TOPDIR=$(TOPDIR)/.. INSTALL_DIR=$(INSTALL_DIR) \ CURRENTDIR=$(CURRENTDIR)/bootstrap DISTNAME="$(DISTNAME)" compare: stage1 rm -rf src1 src2 mkdir -p src1 mkdir -p src2 cp -p stage1/*.hh src1 cp -p stage1/*.cc src1 cp -p stage1/*.rf src1 cp -p stage1/*.rfi src1 cp -p ../compiler/*.rf src2 cp -p ../compiler/*.rfi src2 ( cd src2 ; \ ../stage1/rfpc -I ../../library/include/refal-plus -hh *.rfi ; \ ../stage1/rfpc -I ../../library/include/refal-plus -cc *.rf ) diff -ur src1 src2 clean:: rm -rf stage1 src1 src2