generalizing makefile to try to get it to work with BSDmake.
[monkeysphere.git] / src / keytrans / Makefile
1 CFLAGS=`libgnutls-config --libs --cflags` -g -Wall --pedantic
2 CC=gcc
3
4 all: openpgp2ssh
5
6 openpgp2ssh: openpgp2ssh.c gnutls-helpers.o
7         $(CC) $(CFLAGS) -o openpgp2ssh openpgp2ssh.c gnutls-helpers.o
8
9 .c.o: 
10         $(CC) $(CFLAGS) -c $<
11
12 clean: 
13         rm -f openpgp2ssh *.o
14
15 .PHONY: clean all