mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
2319b893ee
* makefile.vms: Fix to work with DEC C.
52 lines
790 B
Plaintext
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) [-]
|
|
|