diff options
| author | jakob <jakob@memeware.net> | 2017-08-28 14:32:57 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-08-28 14:32:57 -0400 |
| commit | a4365445d4d32001362f6e8bfae93a3b8f152fde (patch) | |
| tree | e9fa2d582ccc4cd7e6a914dd7f6d7177922f7841 /wrapper/Makefile | |
| parent | 3c6841de48d401e911bb609042d019764b26f507 (diff) | |
Initial implementation of the ptrace wrapper
Diffstat (limited to 'wrapper/Makefile')
| -rw-r--r-- | wrapper/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
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) |