You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
CC ?= gcc
|
|
target ?= $(shell ${CC} -dumpmachine)
|
|
CC_FLAGS ?=
|
|
|
|
.PHONY: all debug
|
|
all:
|
|
@$(shell mkdir -p out)
|
|
${CC} -shared src/exploit.c -o out/pwnkit.so -Wl,-e,main -fPIC ${CC_FLAGS}
|
|
|
|
debug: CC_FLAGS:=-g -O0 -v ${CC_FLAGS}
|
|
debug: all
|
|
|