Commit | Line | Data |
---|---|---|
1 | proj=troll23 | |
2 | ||
3 | unexport LD_PRELOAD | |
4 | $(proj).so: $(proj).c | |
5 | $(CC) -shared -fPIC -ldl $? -o $@ | |
6 | # To test: | |
7 | # export LD_PRELOAD=$(PWD)/$@ | |
8 | # touch /tmp/deleteme; rm /tmp/deleteme | |
9 | # Or: | |
10 | # make go | |
11 | # make ssh | |
12 | ||
13 | go: test $(proj).so | |
14 | LD_PRELOAD=$(PWD)/$(proj).so ./test | |
15 | ||
16 | ssh: $(proj).so | |
17 | LD_PRELOAD=$(PWD)/$(proj).so ./sshkeys.sh |