--- a/src/internfile/Makefile
+++ b/src/internfile/Makefile
@@ -1,9 +1,9 @@
-# @(#$Id: Makefile,v 1.2 2006-12-15 12:40:02 dockes Exp $ (C) 2005 J.F.Dockes
+# @(#$Id: Makefile,v 1.3 2007-10-03 14:53:37 dockes Exp $ (C) 2005 J.F.Dockes
depth = ..
include $(depth)/mk/sysconf
# Only test executables get build in here
-PROGS = internfile
+PROGS = mh_mbox internfile
all: $(BIGLIB) $(PROGS)
@@ -18,6 +18,16 @@
trinternfile.o : internfile.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
internfile.cpp
+
+MH_MBOX_OBJS= trmh_mbox.o $(BIGLIB) $(MIMELIB)
+mh_mbox : $(MH_MBOX_OBJS)
+ $(CXX) $(ALL_CXXFLAGS) -o mh_mbox $(MH_MBOX_OBJS) \
+ $(LIBICONV) $(LIBSYS)
+trmh_mbox.o : mh_mbox.cpp
+ $(CXX) $(ALL_CXXFLAGS) -DTEST_MH_MBOX -c -o trmh_mbox.o \
+ mh_mbox.cpp
+
+
clean:
rm -f *.o $(PROGS)