diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-12 13:31:13 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-12 13:31:13 -0400 |
commit | 00719770b7608af0c37dfd6c14a04eb7ebc4cad0 (patch) | |
tree | c698e08c03c93cbc81cb23434445035c083e2a6c /src/keytrans/Makefile | |
parent | e2314e2105e02ec0d2684a3b68b9187982ca812b (diff) |
reorganizing to prepare for transition to openpgp2ssh.
Diffstat (limited to 'src/keytrans/Makefile')
-rw-r--r-- | src/keytrans/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/keytrans/Makefile b/src/keytrans/Makefile new file mode 100644 index 0000000..fdd4ccd --- /dev/null +++ b/src/keytrans/Makefile @@ -0,0 +1,19 @@ +all: openpgp2ssh + +openpgp2ssh: openpgp2ssh.c gnutls-helpers.o + gcc -g -Wall --pedantic -o openpgp2ssh openpgp2ssh.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o + +%.o: %.c + gcc -g -Wall --pedantic -o $@ -c $< + +clean: + rm -f openpgp2ssh gpg2ssh ssh2gpg *.o + +# deprecated: +gpg2ssh: gpg2ssh.c gnutls-helpers.o + gcc -g -Wall --pedantic -o gpg2ssh gpg2ssh.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o + +ssh2gpg: ssh2gpg.c gnutls-helpers.o + gcc -g -Wall --pedantic -o ssh2gpg ssh2gpg.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o + +.PHONY: clean all |