diff options
Diffstat (limited to '')
-rw-r--r-- | debian/keygen-test/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/keygen-test/Makefile b/debian/keygen-test/Makefile new file mode 100644 index 0000000..71f5eb8 --- /dev/null +++ b/debian/keygen-test/Makefile @@ -0,0 +1,12 @@ +test: getpid.so + chmod +x keygen-test + ./keygen-test + +getpid.o: getpid.c + gcc $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@ + +getpid.so: getpid.o + gcc $(LDFLAGS) -shared -o $@ $< + +clean: + rm -f getpid.o getpid.so key1 key1.pub key2 key2.pub |