diff options
Diffstat (limited to 'wrapper')
| -rw-r--r-- | wrapper/Makefile | 12 |
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 |