Makefile 508 Bytes
Newer Older
1
2
include ../../config.mk

3
CXXFLAGS +=	-I../../common/include/ -I../../lib/include -I$(DCDBDEPLOYPATH)/include
4
OBJS =		dcdbquerysum.o
5
LIBS =		-L../../lib -L$(DCDBDEPLOYPATH)/lib -ldcdb -lcassandra -luv -lboost_random -lboost_system -lboost_date_time -lboost_regex -lssl -lcrypto -lpthread
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TARGET =	dcdbquerysum

.PHONY : clean install

$(TARGET): $(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS)

all:	$(TARGET)

clean:
	rm -f $(TARGET)
	rm -f $(OBJS)

install: $(TARGET)
	install $(TARGET) $(DCDBDEPLOYPATH)/bin/