5 Star 0 Fork 1

anolis/system-register-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 544 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangrongwei 提交于 2020-11-27 13:56 . src: Initial commit
#
# Makefile for system-register-tools
#
CC = gcc -Wall
CFLAGS = -g -O0 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I ./
LDFLAGS =
BIN = rdasr wrasr
sbindir = /usr/sbin
RSRC = rdasr.c
RSRC += aarch64_rdasr.c
WSRC = wrasr.c
WSRC += aarch64_wrasr.c
.PHONY: all install clean
all:
$(CC) $(CFLAGS) $(RSRC) -o rdasr
$(CC) $(CFLAGS) $(WSRC) -o wrasr
install:
cp registersv8.table ~/.regstable
install -m 755 $(BIN) $(sbindir)
@echo "system-register-tools have been installed successfully!"
clean:
rm -f *.o $(BIN)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anolis/system-register-tools.git
git@gitee.com:anolis/system-register-tools.git
anolis
system-register-tools
system-register-tools
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385