binutils-gdb/makefile.vms
Ian Lance Taylor 2319b893ee Mon Oct 20 15:28:49 1997 Klaus K"ampf <kkaempf@progis.de>
* makefile.vms: Fix to work with DEC C.
1997-10-20 19:30:47 +00:00

52 lines
790 B
Plaintext

#
# makefile for bfd, binutils and gas
#
# Created by Klaus K"ampf (kkaempf@progis.de)
#
# You must use Version 3.76 of GNU Make
#
#
CC =
ifeq ($(CC),cc)
CHECK-COMPILER = check_compiler
else
CHECK-COMPILER =
endif
all: check_cc $(CHECK-COMPILER)
$(CD) [.bfd]
@gmake "CC=$(CC)"
$(CD) [-.opcodes]
@gmake "CC=$(CC)"
$(CD) [-.libiberty]
@gmake "CC=$(CC)"
$(CD) [-.binutils]
@gmake "CC=$(CC)"
$(CD) [-.gas]
@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
$(CD) [-.opcodes]
gmake clean
$(CD) [-.libiberty]
gmake clean
$(CD) [-.binutils]
gmake clean
$(CD) [-.gas]
gmake clean
$(CD) [-]