projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5651c90
)
generalizing makefile to try to get it to work with BSDmake.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 4 Sep 2008 22:34:28 +0000
(18:34 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 4 Sep 2008 22:34:28 +0000
(18:34 -0400)
src/keytrans/Makefile
patch
|
blob
|
history
diff --git
a/src/keytrans/Makefile
b/src/keytrans/Makefile
index 79602efa6c2fc7da11ff5d5e2d3e1f23c7a6f6f1..4d54be743f88c31be6fab35fb456be2ab700872b 100644
(file)
--- 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