Switch to unified view

a/src/utils/Makefile b/src/utils/Makefile
1
include ../mk/sysconf
1
include ../mk/sysconf
2
2
3
BIGLIB = ../lib/librcl.a
3
BIGLIB = ../lib/librcl.a
4
4
5
PROGS = smallut trfstreewalk trpathut transcode trmimeparse trexecmd
5
PROGS = wipedir smallut trfstreewalk trpathut transcode trmimeparse trexecmd
6
all: $(PROGS)
6
all: $(PROGS)
7
7
8
FSTREEWALK_OBJS= trfstreewalk.o fstreewalk.o pathut.o
8
FSTREEWALK_OBJS= trfstreewalk.o fstreewalk.o pathut.o
9
trfstreewalk : $(FSTREEWALK_OBJS)
9
trfstreewalk : $(FSTREEWALK_OBJS)
10
    $(CXX) -o trfstreewalk $(FSTREEWALK_OBJS)
10
    $(CXX) -o trfstreewalk $(FSTREEWALK_OBJS)
...
...
42
smallut : $(SMALLUT_OBJS)
42
smallut : $(SMALLUT_OBJS)
43
    $(CXX) $(CXXFLAGS) -o smallut $(SMALLUT_OBJS) $(LIBICONV)
43
    $(CXX) $(CXXFLAGS) -o smallut $(SMALLUT_OBJS) $(LIBICONV)
44
trsmallut.o : ../utils/smallut.cpp 
44
trsmallut.o : ../utils/smallut.cpp 
45
    $(CXX) $(CXXFLAGS) -DTEST_SMALLUT -c -o trsmallut.o \
45
    $(CXX) $(CXXFLAGS) -DTEST_SMALLUT -c -o trsmallut.o \
46
           smallut.cpp
46
           smallut.cpp
47
48
WIPEDIR_OBJS= trwipedir.o  $(BIGLIB) 
49
wipedir : $(WIPEDIR_OBJS)
50
  $(CXX) $(CXXFLAGS) -o wipedir $(WIPEDIR_OBJS) $(LIBICONV)
51
trwipedir.o : ../utils/wipedir.cpp 
52
  $(CXX) $(CXXFLAGS) -DTEST_WIPEDIR -c -o trwipedir.o \
53
         wipedir.cpp
47
clean: 
54
clean: 
48
    rm -f *.o $(PROGS)
55
    rm -f *.o $(PROGS)