--- a/src/common/Makefile
+++ b/src/common/Makefile
@@ -1,6 +1,6 @@
# Only test progs in there
-PROGS = unacpp textsplit
+PROGS = internfile unacpp textsplit
all: $(BIGLIB) $(PROGS)
@@ -21,6 +21,14 @@
$(CXX) $(CXXFLAGS) -DTEST_TEXTSPLIT -c -o trtextsplit.o \
textsplit.cpp
+INTERNFILE_OBJS= trinternfile.o $(BIGLIB) $(MIMELIB)
+internfile : $(INTERNFILE_OBJS)
+ $(CXX) $(CXXFLAGS) -o internfile $(INTERNFILE_OBJS) \
+ $(LIBICONV) $(LIBSYS)
+trinternfile.o : internfile.cpp
+ $(CXX) $(CXXFLAGS) -DTEST_INTERNFILE -c -o trinternfile.o \
+ internfile.cpp
+
clean::
rm -f *.o $(PROGS)