X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=aa18aaad5a2e096e9456008fcafc41f65d45bb64;hb=f047b198433a0781e35b5ca0cea0bc532d9a64ce;hp=eb82821fb9686a42acb81f8068e9cfb2e724a8d8;hpb=0e9fcae8b7434972a6ae2d76a79136c24305d7c5;p=monkeysphere.git diff --git a/Makefile b/Makefile index eb82821..aa18aaa 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,16 @@ -monkeysphere: main.c - gcc -g -Wall --pedantic -o monkeysphere main.c `libgnutls-config --libs --cflags` -lgnutls-extra +monkeysphere: main.c gnutls-helpers.o + gcc -g -Wall --pedantic -o monkeysphere main.c `libgnutls-config --libs --cflags` -lgnutls-extra gnutls-helpers.o + +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 + +%.o: %.c + gcc -g -Wall --pedantic -o $@ -c $< clean: - rm monkeysphere + rm -f monkeysphere *.o + +.PHONY: clean