1
0
UAHCode/CPE455/Quiz-Charlie/makefile
2022-08-28 16:12:16 -05:00

19 lines
294 B
Makefile

#
# 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