From 749c1d3e310a3df5d6f2ce10135129aa3f6142b7 Mon Sep 17 00:00:00 2001 From: jakob Date: Tue, 29 Aug 2017 16:02:44 -0400 Subject: setup.py and the makefile both install the wrapper library properly now --- wrapper/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'wrapper') diff --git a/wrapper/Makefile b/wrapper/Makefile index 19fa189..2e7efee 100644 --- a/wrapper/Makefile +++ b/wrapper/Makefile @@ -6,7 +6,17 @@ CFLAGS += $(USER_CFLAGS) LDFLAGS = -shared LDFLAGS += $(USER_LDFLAGS) +BIN = libhypodermicw.so + all: libhypodermicw.so -libhypodermicw.so: ptrace.c +$(BIN): ptrace.c $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) + ln -s $@ ../$@ + + +clean: + rm -f $(BIN) + rm -f ../$(BIN) + +.PHONY: all clean -- cgit v1.3