summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-04-07 01:37:41 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-04-07 01:37:41 -0400
commit106d82cc8db97956d373f09e44dcdee661918c90 (patch)
tree5485edb0cb41bb29cbd09a972f964992e636ffe3 /Makefile
parent0feae9a3c736f3b034b7f2d9a023b2a1a57d4c1c (diff)
broke out gnutls business into a helper file in preparation for new projects.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
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