Makefile (377B)
1 TARGS = shellcode \ 2 dash_shellcode \ 3 stack \ 4 exploit 5 6 #SCRIPTS = 7 8 CC = cc 9 CFLAGS = -std=c99 -pedantic -Wall -Os -Iinclude -g -z execstack \ 10 -fno-stack-protector 11 LIBS = -Llib 12 13 all: 14 for targ in ${TARGS} ; do \ 15 ${CC} $${targ}.c ${LIBS} -o $${targ} ; \ 16 chown root $${targ} ; \ 17 chmod 4755 $${targ} ; \ 18 done 19 #chmod +x ${SCRIPTS} 20 21 clean: 22 rm -f ${TARGS} bad *.o *.core