summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index c869a74..27498ac 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -7,8 +7,9 @@ DISTRIO_BASE = ../
DISTRIO_IO = $(DISTRIO_BASE)io/lib
DISTRIO_MANAGER = $(DISTRIO_BASE)manager/lib
-CFLAGS += -fPIC -I. -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER)
+CFLAGS += -g -fPIC -I. -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER)
CXXFLAGS += $(CFLAGS)
+LDFLAGS += -lrt
TAO_IDL := tao_idl
@@ -22,7 +23,7 @@ IDL_CLEANFILES = $(COMPONENT)C.cpp $(COMPONENT)C.inl $(COMPONENT)I.h \
$(COMPONENT)S.h $(COMPONENT)C.h $(COMPONENT)S.cpp
all: $(OBJ)
- $(LD) -shared -o $(LIB) $(OBJ)
+ $(LD) $(LDFLAGS) -shared -o $(LIB) $(OBJ)
.PHONY: idl
idl: