blob: 522e570a94a821119b689f448f396cb02bd85f71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,16 @@
VERSION=0.6
DEBUG=-g # -pg
-CFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG)
-LDFLAGS=-lgpgme $(DEBUG)
+CPPFLAGS+=-DVERSION=\"${VERSION}\" -D_FILE_OFFSET_BITS=64
+CFLAGS+=-Wall $(DEBUG) `gpgme-config --cflags`
+LIBS=`gpgme-config --libs`
OBJS=nasty.o
all: nasty
nasty: $(OBJS)
- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o nasty
+ $(CC) $(LDFLAGS) $(OBJS) -o nasty $(LIBS)
install: nasty
cp nasty /usr/bin
|