Switch to unified view

a/src/query/Makefile b/src/query/Makefile
1
include ../mk/sysconf
2
3
BIGLIB=../lib/librcl.a
4
1
5
PROGS = qtry qxtry xadump
2
PROGS = qtry qxtry xadump
6
all: $(PROGS)
3
all: $(PROGS)
7
4
8
XADUMP_OBJS= xadump.o $(BIGLIB)
5
XADUMP_OBJS= xadump.o $(BIGLIB)
...
...
21
           $(LIBICONV) $(LIBXAPIAN)
18
           $(LIBICONV) $(LIBXAPIAN)
22
19
23
$(BIGLIB):
20
$(BIGLIB):
24
    cd ../lib;make
21
    cd ../lib;make
25
   
22
   
23
depend: alldeps.stamp
24
alldeps.stamp : $(SRCS)
25
  $(CXX) -M $(CXXFLAGS) $(SRCS) > alldeps
26
  touch alldeps.stamp
27
26
clean: 
28
clean:
29
  cp /dev/null alldeps
30
  rm -f alldeps.stamp
27
    rm -f *.o $(PROGS)
31
    rm -f *.o $(PROGS)
28
alldeps:depend
32
29
depend:
33
include ../mk/sysconf
30
  $(CXX) $(CXXFLAGS) -M *.cpp > alldeps
31
include alldeps
34
include alldeps
32