1 Star 0 Fork 0

xp / binutils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
makefile.vms 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
xp 提交于 2019-12-02 14:34 . 2.33.1
#
# makefile for bfd, binutils and gas
#
# Created by Klaus K"ampf (kkaempf@rmi.de)
#
# You must use Version 3.76 of GNU Make
#
#
ifeq ($(ARCH),ALPHA)
CC = gcc
GASCC = $(CC)
else
CC = cc
GASCC = gcc
endif
ifeq ($(CC),cc)
CHECK-COMPILER = check_compiler
else
CHECK-COMPILER =
endif
all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
$(CD) [.bfd]
@gmake "CC=$(CC)"
$(CD) [-.opcodes]
@gmake "CC=$(CC)"
$(CD) [-.libiberty]
@gmake "CC=$(CC)"
$(CD) [-.binutils]
@gmake "CC=$(CC)"
$(CD) [-.gas]
@gmake "CC=$(GASCC)"
$(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"
[.binutils]makefile.vms:
$(CD) [.binutils]
$$ @configure
$(CD) [-]
install: all
$(CD) [.binutils]
@gmake "CC=$(CC)" install
$(CD) [-]
$(CD) [.gas]
@gmake "CC=$(GASCC)" install
$(CD) [-]
clean:
$(CD) [.bfd]
@gmake clean
$(CD) [-.opcodes]
@gmake clean
$(CD) [-.libiberty]
@gmake clean
$(CD) [-.binutils]
@gmake clean
$(CD) [-.gas]
@gmake clean
$(CD) [-]
1
https://gitee.com/hsupu/binutils.git
git@gitee.com:hsupu/binutils.git
hsupu
binutils
binutils
master

搜索帮助