diff options
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) |