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 #
|
||||
#------------------------------------------------------------------------------#
|
||||
|
||||
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`
|
||||
|
||||
|
@ -11,34 +16,34 @@ AR = ar
|
|||
LD = g++
|
||||
WINDRES = windres
|
||||
|
||||
INC =
|
||||
INC =
|
||||
CFLAGS = -Wall
|
||||
RESINC =
|
||||
LIBDIR =
|
||||
LIB =
|
||||
LDFLAGS =
|
||||
RESINC =
|
||||
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
|
||||
DEP_DEBUG =
|
||||
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
|
||||
DEP_RELEASE =
|
||||
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче