Add depend make target and resolve conflict in query_classifier.cc

This commit is contained in:
Mark Riddoch
2013-07-19 15:05:21 +02:00
parent b9098e04a9
commit bce6f88efe
3 changed files with 30 additions and 2 deletions

View File

@ -4,6 +4,8 @@ include ../makefile.inc
CC = gcc
CPP = g++
SRCS = log_manager.cc
LOG_WRITER_PATH := $(shell pwd)
makeall: clean all
@ -14,6 +16,7 @@ clean:
- $(DEL) *.so
- $(DEL) *.so.1.0.1
- $(DEL) *~
- $(DEL) depend
all: utils lib
@ -39,3 +42,12 @@ liblink:
install: liblink
install liblog_manager.so.1.0.1 liblog_manager.so $(DEST)/lib
depend:
@rm -f depend
$(CPP) -M $(CFLAGS) \
-I$(MARIADB_SRC_PATH)/include/ \
-I../utils/ -I./ \
$(SRCS) > depend
include depend