From 106d82cc8db97956d373f09e44dcdee661918c90 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Mon, 7 Apr 2008 01:37:41 -0400 Subject: broke out gnutls business into a helper file in preparation for new projects. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a2a3e74..b8545a9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ -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 + +%.o: %.c + gcc -g -Wall --pedantic -o $@ -c $< clean: - rm -f monkeysphere + rm -f monkeysphere *.o .PHONY: clean -- cgit v1.2.3