X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=aa18aaad5a2e096e9456008fcafc41f65d45bb64;hb=0b21bae54002f213118aa537d432f3375799073b;hp=f3576b1b453d6df3a22b1af14345c8064dfc2098;hpb=65f0b395b7529c3f12857fb52b6e39b9f2a4221d;p=monkeysphere.git diff --git a/Makefile b/Makefile index f3576b1..aa18aaa 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +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