--- Makefile +++ Makefile @@ -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.*