Change the Makefile to better compile.

This commit is contained in:
Ubuntu 2015-01-13 09:32:30 +00:00
Родитель 74e76dae3d
Коммит a5b032b504
1 изменённых файлов: 20 добавлений и 15 удалений

Просмотреть файл

@ -2,6 +2,11 @@
# This makefile was generated by 'cbp2make' tool rev.147 #
#------------------------------------------------------------------------------#
CASABLANCA = ../../casablanca
CASA_RELEASE = $(CASABLANCA)/Release
CASA_INC = $(CASA_RELEASE)/include
CASA_LIB_DEBUG = $(CASA_RELEASE)/build.debug/Binaries
CASA_LIB_RELEASE = $(CASA_RELEASE)/build.release/Binaries
WORKDIR = `pwd`
@ -18,27 +23,27 @@ LIBDIR =
LIB =
LDFLAGS =
INC_DEBUG = $(INC) -I../casablanca/Release/include -Iinclude -I.
CFLAGS_DEBUG = $(CFLAGS) -g -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder
INC_DEBUG = $(INC) -I$(CASA_INC) -Iinclude -I.
CFLAGS_DEBUG = $(CFLAGS) -g -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder -Wno-unused-local-typedefs
RESINC_DEBUG = $(RESINC)
RCFLAGS_DEBUG = $(RCFLAGS)
LIBDIR_DEBUG = $(LIBDIR) -L../casablanca/Release/build.release/Binaries
LIBDIR_DEBUG = $(LIBDIR) -L$(CASA_LIB_DEBUG)
LIB_DEBUG = $(LIB) -lcpprest
LDFLAGS_DEBUG = $(LDFLAGS) -lpthread
OBJDIR_DEBUG = obj/Debug
DEP_DEBUG =
OUT_DEBUG = bin/Debug/NM
OUT_DEBUG = bin/Debug/whpc-node-manager.d
INC_RELEASE = $(INC) -Iinclude -I. -I../casablanca/Release/include
CFLAGS_RELEASE = $(CFLAGS) -O2 -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder
INC_RELEASE = $(INC) -Iinclude -I. -I$(CASA_INC)
CFLAGS_RELEASE = $(CFLAGS) -O2 -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder -Wno-unused-local-typedefs
RESINC_RELEASE = $(RESINC)
RCFLAGS_RELEASE = $(RCFLAGS)
LIBDIR_RELEASE = $(LIBDIR) -L../casablanca/Release/build.release/Binaries
LIBDIR_RELEASE = $(LIBDIR) -L$(CASA_LIB_RELEASE)
LIB_RELEASE = $(LIB)-lcpprest
LDFLAGS_RELEASE = $(LDFLAGS) -s -lpthread
OBJDIR_RELEASE = obj/Release
DEP_RELEASE =
OUT_RELEASE = bin/Release/NM
OUT_RELEASE = bin/Release/whpc-node-manager
OBJ_DEBUG = $(OBJDIR_DEBUG)/Executor.o $(OBJDIR_DEBUG)/JobTaskDb.o $(OBJDIR_DEBUG)/ProcessStartInfo.o $(OBJDIR_DEBUG)/RemotingCommunicator.o $(OBJDIR_DEBUG)/RemotingExecutor.o $(OBJDIR_DEBUG)/UnionFindSet.o $(OBJDIR_DEBUG)/main.o $(OBJDIR_DEBUG)/Monitoring.o