summaryrefslogtreecommitdiff
path: root/wrapper
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-08-29 16:02:44 -0400
committerjakob <jakob@memeware.net>2017-08-29 16:02:44 -0400
commit749c1d3e310a3df5d6f2ce10135129aa3f6142b7 (patch)
tree6c7b00c7b9b1ec462bb5e63ff765754df183a860 /wrapper
parenta0aac5609c87443ea12d04ffb280234c24d13e3f (diff)
setup.py and the makefile both install the wrapper library properly now
Diffstat (limited to 'wrapper')
-rw-r--r--wrapper/Makefile12
1 files changed, 11 insertions, 1 deletions
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