Mon Oct 20 15:28:49 1997 Klaus K"ampf <kkaempf@progis.de>
authorIan Lance Taylor <ian@airs.com>
Mon, 20 Oct 1997 19:30:47 +0000 (19:30 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 20 Oct 1997 19:30:47 +0000 (19:30 +0000)
* makefile.vms: Fix to work with DEC C.

ChangeLog
makefile.vms

index 638fe265bbe06822cdbd26beabf45d4bfe4a07a7..bdc30b9512113e8032a77b08b0da6d13b33a49db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Oct 20 15:28:49 1997  Klaus K"ampf  <kkaempf@progis.de>
+
+       * makefile.vms: Fix to work with DEC C.
+
 Tue Oct  7 23:58:57 1997  Gavin Koch  <gavin@cygnus.com>
 
        * config.sub: Add mips-tx39-elf to marketing names.
index 164b57a07256783fcd5449b36b570540ad354a95..01b54d0cb1402998d3726859a36e8e55f0621f55 100644 (file)
@@ -3,25 +3,39 @@
 #
 # Created by Klaus K"ampf (kkaempf@progis.de)
 #
-# You must use Version 3.75p (proGIS enhanced) of GNU Make
+# You must use Version 3.76 of GNU Make
 #
 #
-CC = gcc
+CC =
 
-all:
-       $$ @setup
+ifeq ($(CC),cc)
+  CHECK-COMPILER = check_compiler
+else
+  CHECK-COMPILER =
+endif
+
+all:   check_cc $(CHECK-COMPILER)
        $(CD) [.bfd]
-       gmake "CC=$(CC)"
+       @gmake "CC=$(CC)"
        $(CD) [-.opcodes]
-       gmake "CC=$(CC)"
+       @gmake "CC=$(CC)"
        $(CD) [-.libiberty]
-       gmake "CC=$(CC)"
+       @gmake "CC=$(CC)"
        $(CD) [-.binutils]
-       gmake "CC=$(CC)"
+       @gmake "CC=$(CC)"
        $(CD) [-.gas]
-       gmake "CC=$(CC)"
+       @gmake "CC=$(CC)"
        $(CD) [-]
 
+check_cc:
+ifeq ($CC,)
+       @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
+       stop
+endif
+
+check_compiler:
+       @$(ECHO) "Perform a '$$ @setup' before starting make"
+
 clean:
        $(CD) [.bfd]
        gmake clean
This page took 0.030134 seconds and 4 git commands to generate.