Add code to "setup" rule to create links into machine directory. (The
authorChris Hanson <org/chris-hanson/cph>
Wed, 6 Dec 2000 04:45:45 +0000 (04:45 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 6 Dec 2000 04:45:45 +0000 (04:45 +0000)
machine link itself is created at configuration time.)

v7/src/compiler/Makefile

index b1ad06b5328b412c6428aafcd693c780d391cc0c..697d2e6910a974b5199ad3cbef7dd2256930cf25 100644 (file)
@@ -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 \