source: trunk/binutils/makefile.vms@ 2747

Last change on this file since 2747 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#
2# makefile for bfd, binutils and gas
3#
4# Created by Klaus K"ampf ([email protected])
5#
6# You must use Version 3.76 of GNU Make
7#
8#
9
10ifeq ($(ARCH),ALPHA)
11CC = gcc
12GASCC = $(CC)
13else
14CC = cc
15GASCC = gcc
16endif
17
18ifeq ($(CC),cc)
19 CHECK-COMPILER = check_compiler
20else
21 CHECK-COMPILER =
22endif
23
24all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
25 $(CD) [.bfd]
26 @gmake "CC=$(CC)"
27 $(CD) [-.opcodes]
28 @gmake "CC=$(CC)"
29 $(CD) [-.libiberty]
30 @gmake "CC=$(CC)"
31 $(CD) [-.binutils]
32 @gmake "CC=$(CC)"
33 $(CD) [-.gas]
34 @gmake "CC=$(GASCC)"
35 $(CD) [-]
36
37check_cc:
38ifeq ($CC,)
39 @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
40 stop
41endif
42
43check_compiler: