diff options
Diffstat (limited to 'src/keytrans/Makefile')
-rw-r--r-- | src/keytrans/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/keytrans/Makefile b/src/keytrans/Makefile index 79602ef..4d54be7 100644 --- a/src/keytrans/Makefile +++ b/src/keytrans/Makefile @@ -1,10 +1,13 @@ +CFLAGS=`libgnutls-config --libs --cflags` -g -Wall --pedantic +CC=gcc + all: openpgp2ssh openpgp2ssh: openpgp2ssh.c gnutls-helpers.o - gcc -g -Wall --pedantic -o openpgp2ssh openpgp2ssh.c `libgnutls-config --libs --cflags` gnutls-helpers.o + $(CC) $(CFLAGS) -o openpgp2ssh openpgp2ssh.c gnutls-helpers.o -%.o: %.c - gcc -g -Wall --pedantic -o $@ -c $< +.c.o: + $(CC) $(CFLAGS) -c $< clean: rm -f openpgp2ssh *.o |