blob: ee4ed9dec2883fb75051f126d19cc41dbd627741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- Makefile.orig 2010-05-21 23:31:01.000000000 +0300
+++ Makefile 2010-05-21 23:32:04.000000000 +0300
@@ -8,10 +8,10 @@
mandir= $(prefix)/man
-CXX= g++
-CXXFLAGS= -O2 -pipe -DMF_VERSION=\"${version}\"
-CXXFLAGS+= -g -Wall -Werror
-LDFLAGS= -lcurl
+CXX?= g++
+CXXFLAGS+= -DMF_VERSION=\"${version}\"
+CXXFLAGS+= -Wall
+LIBS= -lcurl
INSTALL= /usr/bin/install
STRIP= /usr/bin/strip
@@ -36,7 +36,7 @@
$(name): $(OBJS)
- $(CXX) $(LDFLAGS) $(OBJS) -o $(name)
+ $(CXX) $(LDFLAGS) $(OBJS) -o $(name) $(LIBS)
distclean: clean
-rm -f Makefile config.log config.h *~ *.core core.*
|