summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2012-06-07 16:00:59 +0200
committerManuel Traut <manut@mecka.net>2012-06-07 16:00:59 +0200
commite3f225cd4fb60437d94288849f7af03179d56f6b (patch)
tree7c4ef56f5c83fc6cdd6d74a0aa8011f0f39b0307 /common/Makefile
parentf5e17d19e473e501ffa964ec3ccda1970ecafbf2 (diff)
retriving digital ios inside a device works now
Signed-off-by: Manuel Traut <manut@mecka.net>
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: