--- Makefile.orig 2008-10-20 02:07:49.000000000 +0800 +++ Makefile 2008-10-20 02:14:16.000000000 +0800 @@ -38,17 +38,17 @@ # ENABLE_DLOPEN defined as -DHAVE_DLOPEN. # Otherwise, tcpwrapper support is disabled. -OOP_BASE = /usr/local/oop +OOP_BASE = %%LOCALBASE%% OOP_INC = $(OOP_BASE)/include OOP_LIB = $(OOP_BASE)/lib ENABLE_DLOPEN = -DHAVE_DLOPEN -CC = gcc +CC ?= gcc WARN = -Wall REENT = -D_REENTRANT #DEBUG = -DNEPIM_DEBUG_KEEPALIVE -DNEPIM_DEBUG_FIXME -CFLAGS = $(WARN) $(REENT) $(DEBUG) -g -ggdb -I$(OOP_INC) $(ENABLE_DLOPEN) \ +CFLAGS += $(WARN) $(REENT) $(DEBUG) -I$(OOP_INC) $(ENABLE_DLOPEN) \ -DHAVE_IPV6_MREQ LDFLAGS += -L$(OOP_LIB) -loop