source: to-imperative/trunk/bootstrap/Makefile @ 1032

Last change on this file since 1032 was 1032, checked in by pooh, 18 years ago
  • Started work on bootstrap infrastructure.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 520 bytes
Line 
1TOPDIR = ..
2include $(TOPDIR)/rules.mk
3
4DISTFILES = Makefile
5
6bootstrap:
7        mkdir -p stage1
8        cp -a ../compiler/*.rf stage1/
9        cp -a ../compiler/*.rfi stage1/
10        cp -a ../compiler/gendeps.sh stage1/
11        cp -a ../compiler/Makefile stage1/
12        ( cd stage1; ../rfph.sh *.rf )
13        $(MAKE) -C stage1 all \
14          TOPDIR=$(TOPDIR)/.. INSTALL_DIR=$(INSTALL_DIR) \
15          CURRENTDIR=$(CURRENTDIR)/bootstrap DISTNAME="$(DISTNAME)" \
16          RFPC="../rfpc.sh" \
17          CPPFLAGS="-I../../runtime -I../../libp++ -I../../library/include"
18
19clean::
20        rm -rf stage1
21
22
23
Note: See TracBrowser for help on using the repository browser.