summaryrefslogtreecommitdiff
path: root/src/keytrans/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/keytrans/Makefile')
-rw-r--r--src/keytrans/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/keytrans/Makefile b/src/keytrans/Makefile
new file mode 100644
index 0000000..79602ef
--- /dev/null
+++ b/src/keytrans/Makefile
@@ -0,0 +1,12 @@
+all: openpgp2ssh
+
+openpgp2ssh: openpgp2ssh.c gnutls-helpers.o
+ gcc -g -Wall --pedantic -o openpgp2ssh openpgp2ssh.c `libgnutls-config --libs --cflags` gnutls-helpers.o
+
+%.o: %.c
+ gcc -g -Wall --pedantic -o $@ -c $<
+
+clean:
+ rm -f openpgp2ssh *.o
+
+.PHONY: clean all