Makefile 612 Bytes
Newer Older
Axel Auweter's avatar
Axel Auweter committed
1
2
3
4
include ../../config.mk

CXXFLAGS =	-O2 -ggdb --std=c++11 -Wall -Wno-unused-local-typedefs -Wno-unknown-warning-option -fmessage-length=0 -I$(DCDBDEPLOYPATH)/include/ -I$(DCDBBASEPATH)/include/ -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
OBJS =		dcdbunitconv.o
5
LIBS =		-L$(DCDBDEPLOYPATH)/lib/ -ldcdb -lcassandra -luv -lboost_random -lboost_system -lboost_date_time -lboost_regex -lssl -lcrypto
Axel Auweter's avatar
Axel Auweter committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TARGET =	dcdbunitconv

.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/