From b47a9fe735d4dee4cc6a906449264a2327dd6fa2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 6 Dec 2000 04:45:45 +0000 Subject: [PATCH] Add code to "setup" rule to create links into machine directory. (The machine link itself is created at configuration time.) --- v7/src/compiler/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/v7/src/compiler/Makefile b/v7/src/compiler/Makefile index b1ad06b53..697d2e691 100644 --- a/v7/src/compiler/Makefile +++ b/v7/src/compiler/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.16 2000/12/06 03:01:20 cph Exp $ +# $Id: Makefile,v 1.17 2000/12/06 04:45:45 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -32,8 +32,11 @@ all: setup: (cd machines/vax; \ for N in 1 2 3; do \ - ln -s instr$${N}.scm dinstr$${N}.scm; \ + test -f dinstr$${N}.scm || ln -s instr$${N}.scm dinstr$${N}.scm; \ done) + for FN in compiler.cbf compiler.pkg compiler.sf make.com; do \ + test -f $${FN} || ln -s machine/$${FN} .; \ + done tags TAGS: etags back/*.scm base/*.scm fggen/*.scm fgopt/*.scm \ -- 2.25.1