Makefile 619 Bytes
Newer Older
1
include ../config.mk
Michael Ott's avatar
Michael Ott committed
2

3
4
5
6
CXXFLAGS =	-O0 -g -Wall -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unknown-warning-option -Werror -fmessage-length=0 -I$(DCDBDEPLOYPATH)/include/ -I$(DCDBBASEPATH)/include/
OBJS =		ipmipusher.o settings.o ipmiservice.o montblancservice.o
LIBS =		-L$(DCDBDEPLOYPATH)/lib/ -lmosquitto -lssl -lcrypto -lpthread -lOpenIPMI -lOpenIPMIposix -lboost_system -lboost_thread
TARGET =	montblancpusher
7

8
.PHONY : all clean install
9

10
11
$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS)
12
	
13
all:	$(TARGET)
14

15
16
clean:
	rm -f $(OBJS) $(TARGET)
17

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