binutils-gdb/makefile.vms

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) [-]