X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Makefile;h=4fb4556c493bc7cadf3183566857fabf81f3f121;hb=76c17804015ffb6c18232cd9ba80cf2a641fd59e;hp=f3576b1b453d6df3a22b1af14345c8064dfc2098;hpb=67e617d76fce59ccbc125fa530057b97161d416a;p=monkeysphere.git diff --git a/Makefile b/Makefile index f3576b1..4fb4556 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ -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 + +%.o: %.c + gcc -g -Wall --pedantic -o $@ -c $< clean: - rm monkeysphere + rm -f monkeysphere *.o .PHONY: clean