1
0
UAHCode/CPE455/Quiz-Charlie/makefile

19 lines
294 B
Makefile
Raw Permalink Normal View History

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