--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -7,12 +7,14 @@
 all: $(LIBS)
 
 OBJS = conftree.o csguess.o debuglog.o \
+     execmd.o \
      fstreewalk.o html.o htmlparse.o indexer.o \
      mimehandler.o mimeparse.o mimetype.o myhtmlparse.o pathut.o \
      rclconfig.o rcldb.o readfile.o smallut.o \
      textsplit.o transcode.o \
      unacpp.o unac.o
 SRCS = ../utils/conftree.cpp ../index/csguess.cpp ../utils/debuglog.cpp \
+     ../utils/execmd.cpp \
      ../utils/fstreewalk.cpp ../common/html.cpp ../common/htmlparse.cpp \
      ../index/indexer.cpp \
      ../common/mimehandler.cpp ../utils/mimeparse.cpp ../index/mimetype.cpp \
@@ -34,6 +36,8 @@
 csguess.o : ../index/csguess.cpp 
 	$(CXX) $(CXXFLAGS) -c $<
 debuglog.o : ../utils/debuglog.cpp 
+	$(CXX) $(CXXFLAGS) -c $<
+execmd.o : ../utils/execmd.cpp 
 	$(CXX) $(CXXFLAGS) -c $<
 fstreewalk.o : ../utils/fstreewalk.cpp 
 	$(CXX) $(CXXFLAGS) -c $<