CC = gcc CFLAGS = -Wall -g -fno-stack-protector LDFLAGS = -z execstack PROGRAMS = pilha pilha2 \ buffer buffer-strcpy buffer-strcpy-stack-protector \ execve \ map-armadilha.c map-vitima.c map-armadilha-exit.c \ map-armadilha-execve.c map-armadilha-execve2.c all: $(PROGRAMS) buffer-strcpy-stack-protector: buffer-strcpy.c $(CC) -g buffer-strcpy.c -o buffer-strcpy-stack-protector clean: rm -f *~ $(PROGRAMS)