From a4365445d4d32001362f6e8bfae93a3b8f152fde Mon Sep 17 00:00:00 2001 From: jakob Date: Mon, 28 Aug 2017 14:32:57 -0400 Subject: Initial implementation of the ptrace wrapper --- wrapper/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 wrapper/Makefile (limited to 'wrapper/Makefile') diff --git a/wrapper/Makefile b/wrapper/Makefile new file mode 100644 index 0000000..1019833 --- /dev/null +++ b/wrapper/Makefile @@ -0,0 +1,12 @@ +CC := gcc + +CFLAGS = -Wall -Wextra -Os -std=c99 -pedantic -fstack-protector-all +CFLAGS += $(USER_CFLAGS) + +LDFLAGS = -shared +LDFLAGS += $(USER_LDFLAGS) + +all: libptracew.so + +libtestw.so: ptrace.c + $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -- cgit v1.3