1
0
UAHCode/CPE455/Quiz-Bravo/makefile

19 lines
294 B
Makefile
Raw Permalink Normal View History

2022-08-28 21:12:16 +00:00
#
# bapp.c makefile
#
CC = gcc
CFLAGS = -g
vulnerable_bapp: bapp.c
$(CC) $(CFLAGS) -fno-stack-protector -z execstack bapp.c -o vulnerable_bapp
protected_bapp: bapp.c
$(CC) $(CFLAGS) -fstack-protector -z noexecstack bapp.c -o protected_bapp
clean:
rm vulnerable_bapp protected_bapp