1 Star 0 Fork 0

华科开放原子开源俱乐部/TraditionalMitigation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
make.rule 633 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Stack is Executable
EXECSTACK = -z execstack
# Stack Protector Options
STACKPNO = -fno-stack-protector
STACKREG = -fstack-protector
STACKSTRONG = -fstack-protector-strong
STACKALL = -fstack-protector-all
# FORTIFY_SOURCE Options
FORTIFY0 = -D_FORTIFY_SOURCE=0
# Same as -U_FORTIFY_SOURCE
FORTIFY1 = -D_FORTIFY_SOURCE=1
FORTIFY2 = -D_FORTIFY_SOURCE=2
# Compile options
CC = gcc
CFLAGS = -Wall -Wextra -ggdb -pie -fPIE
SECFLAGS = $(STACKPNO)
.PHONY: all clean
all : $(TARGET)
%.S : %.c
$(CC) -S $(CFLAGS) $(SECFLAGS) -o $@ $<
% : %.c
$(CC) $(CFLAGS) $(SECFLAGS) -o $@ $<
clean :
rm -rf $(TARGET)
rm -rf *.S
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/hust-open-atom-club/TraditionalMitigation.git
[email protected]:hust-open-atom-club/TraditionalMitigation.git
hust-open-atom-club
TraditionalMitigation
TraditionalMitigation
master

搜索帮助