Change the Makefile to better compile.
This commit is contained in:
Родитель
74e76dae3d
Коммит
a5b032b504
|
@ -2,6 +2,11 @@
|
||||||
# This makefile was generated by 'cbp2make' tool rev.147 #
|
# 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`
|
WORKDIR = `pwd`
|
||||||
|
|
||||||
|
@ -18,27 +23,27 @@ LIBDIR =
|
||||||
LIB =
|
LIB =
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
|
|
||||||
INC_DEBUG = $(INC) -I../casablanca/Release/include -Iinclude -I.
|
INC_DEBUG = $(INC) -I$(CASA_INC) -Iinclude -I.
|
||||||
CFLAGS_DEBUG = $(CFLAGS) -g -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder
|
CFLAGS_DEBUG = $(CFLAGS) -g -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder -Wno-unused-local-typedefs
|
||||||
RESINC_DEBUG = $(RESINC)
|
RESINC_DEBUG = $(RESINC)
|
||||||
RCFLAGS_DEBUG = $(RCFLAGS)
|
RCFLAGS_DEBUG = $(RCFLAGS)
|
||||||
LIBDIR_DEBUG = $(LIBDIR) -L../casablanca/Release/build.release/Binaries
|
LIBDIR_DEBUG = $(LIBDIR) -L$(CASA_LIB_DEBUG)
|
||||||
LIB_DEBUG = $(LIB) -lcpprest
|
LIB_DEBUG = $(LIB) -lcpprest
|
||||||
LDFLAGS_DEBUG = $(LDFLAGS) -lpthread
|
LDFLAGS_DEBUG = $(LDFLAGS) -lpthread
|
||||||
OBJDIR_DEBUG = obj/Debug
|
OBJDIR_DEBUG = obj/Debug
|
||||||
DEP_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
|
INC_RELEASE = $(INC) -Iinclude -I. -I$(CASA_INC)
|
||||||
CFLAGS_RELEASE = $(CFLAGS) -O2 -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder
|
CFLAGS_RELEASE = $(CFLAGS) -O2 -std=gnu++11 -Wno-unknown-pragmas -Wno-reorder -Wno-unused-local-typedefs
|
||||||
RESINC_RELEASE = $(RESINC)
|
RESINC_RELEASE = $(RESINC)
|
||||||
RCFLAGS_RELEASE = $(RCFLAGS)
|
RCFLAGS_RELEASE = $(RCFLAGS)
|
||||||
LIBDIR_RELEASE = $(LIBDIR) -L../casablanca/Release/build.release/Binaries
|
LIBDIR_RELEASE = $(LIBDIR) -L$(CASA_LIB_RELEASE)
|
||||||
LIB_RELEASE = $(LIB)-lcpprest
|
LIB_RELEASE = $(LIB)-lcpprest
|
||||||
LDFLAGS_RELEASE = $(LDFLAGS) -s -lpthread
|
LDFLAGS_RELEASE = $(LDFLAGS) -s -lpthread
|
||||||
OBJDIR_RELEASE = obj/Release
|
OBJDIR_RELEASE = obj/Release
|
||||||
DEP_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
|
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
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче