Commit 7935f32a authored by ahoms's avatar ahoms
Browse files

* added -g compiler flag for including debug info in binaries


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@171 45c4679d-1946-429d-baad-37912b19538b
parent b0a3cb74
......@@ -9,7 +9,7 @@ include ../include/espia.inc
CXXFLAGS = -I../include \
-I../../../../hardware/include -I../../../../common/include \
-I$(ESPIA_DRV_INCL) -Wall -pthread -fPIC
-I$(ESPIA_DRV_INCL) -Wall -pthread -fPIC -g
all: Espia.o
......@@ -29,4 +29,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -13,7 +13,7 @@ CXXFLAGS = -I../include \
-I../../../../control/include/ \
-I../../../../control/software_operation/include/ \
-I../../../../third-party/Processlib/core/include \
-I$(ESPIA_DRV_INCL) -Wall -pthread
-I$(ESPIA_DRV_INCL) -Wall -pthread -g
all: testfocla testfoclahwinterface
......@@ -33,4 +33,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -6,7 +6,7 @@ frelon-objs = FrelonBase.o FrelonSerialLine.o FrelonCamera.o FrelonInterface.o
CXXFLAGS = -I../include -I../../common/espia/include \
-I../../../hardware/include -I../../../common/include \
-I$(ESPIA_DRV_INCL) -Wall -pthread -fPIC
-I$(ESPIA_DRV_INCL) -Wall -pthread -fPIC -g
all: Frelon.o
......@@ -26,4 +26,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -15,7 +15,7 @@ CXXFLAGS = -I../include -I../../common/espia/include \
-I../../../control/software_operation/include/ \
-I../../../third-party/Processlib/core/include \
-I../../../third-party/Processlib/tasks/include \
-I$(ESPIA_DRV_INCL) -Wall -pthread
-I$(ESPIA_DRV_INCL) -Wall -pthread -g
all: testfrelon testfreloninterface testfrelonspectroscopy
......
......@@ -6,7 +6,7 @@ maxipix-objs := MaxipixReconstruction.o
INCLUDES = -I../include \
-I../../../third-party/Processlib/core/include
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread -g
all: Maxipix.o
......
......@@ -3,7 +3,7 @@ simu-objs = FrameBuilder.o Simulator.o SimuHwInterface.o
CXX = g++
INC = -I../include -I../../../common/include -I../../../hardware/include
CXXFLAGS += $(INC) -Wall -pthread -fPIC
CXXFLAGS += $(INC) -Wall -pthread -fPIC -g
all: Simu.o
......@@ -20,4 +20,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -13,7 +13,7 @@ testsimuhwinterface-objs = testsimuhwinterface.o
testsimuhwinterface-ext-objs = $(simu-objs) $(std-objs)
INC = -I../include -I../../../common/include -I../../../hardware/include
CXXFLAGS += $(INC) -Wall -pthread
CXXFLAGS += $(INC) -Wall -pthread -g
LDFLAGS = -pthread
all: test testsimulator testsimuhwinterface
......@@ -39,4 +39,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -4,7 +4,7 @@ SRCS = Constants.cpp SizeUtils.cpp Timestamp.cpp ThreadUtils.cpp Exceptions.cpp
common-objs := Constants.o SizeUtils.o Timestamp.o ThreadUtils.o Exceptions.o \
BufferSave.o MemUtils.o RegEx.o AcqFinished.o
CXXFLAGS += -I../include -I../../hardware/include -Wall -pthread -fPIC
CXXFLAGS += -I../include -I../../hardware/include -Wall -pthread -fPIC -g
all: Common.o
......@@ -22,4 +22,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
SRCS = testregex.cpp
CXXFLAGS = -Wall -I ../include -pthread
CXXFLAGS = -Wall -I ../include -pthread -g
LDFLAGS = -pthread
all: testregex
......@@ -17,4 +17,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
......@@ -4,7 +4,7 @@ SRCS=SoftOpInternalMgr.cpp SoftOpExternalMgr.cpp SoftOpId.cpp
INCLUDES=-I../include -I../../../third-party/Processlib/core/include -I../../../third-party/Processlib/tasks/include -I../../../common/include
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread -g
all: CtSoftwareOperation.o
......
......@@ -9,7 +9,7 @@ INCLUDES = -I../include -I../../common/include -I../../hardware/include \
-I../../third-party/Processlib/core/include \
-I../../third-party/Processlib/tasks/include
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread
CXXFLAGS += $(INCLUDES) -fPIC -Wall -pthread -g
all: Ct.o
......
......@@ -8,7 +8,7 @@ hw-objs := HwInterface.o HwCap.o HwSyncCtrlObj.o HwFrameInfo.o \
HwShutterCtrlObj.o HwDetInfoCtrlObj.o HwBinCtrlObj.o \
HwRoiCtrlObj.o HwSerialLine.o
CXXFLAGS += -I../include -I../../common/include -Wall -pthread -fPIC
CXXFLAGS += -I../include -I../../common/include -Wall -pthread -fPIC -g
all: Hw.o
......@@ -25,4 +25,4 @@ clean:
-e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P; \
rm -f $*.d
-include $(SRCS:.cpp=.P)
\ No newline at end of file
-include $(SRCS:.cpp=.P)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment