summaryrefslogtreecommitdiff
path: root/debian/keygen-test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/keygen-test/Makefile')
-rw-r--r--debian/keygen-test/Makefile12
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..666ed82
--- /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 -fPIC -c $< -o $@
+
+getpid.so: getpid.o
+ gcc -shared -o $@ $<
+
+clean:
+ rm -f getpid.o getpid.so key1 key1.pub key2 key2.pub