diff options
Diffstat (limited to 'manager/lib/Makefile')
| -rw-r--r-- | manager/lib/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/manager/lib/Makefile b/manager/lib/Makefile index fa5d771..b24cc0d 100644 --- a/manager/lib/Makefile +++ b/manager/lib/Makefile @@ -2,8 +2,10 @@ CC := $(CROSS_COMPILE)gcc CXX := $(CROSS_COMPILE)g++ LD := $(CROSS_COMPILE)g++ -DISTRIO_COMMON := ../../common -DISTRIO_IO := ../../io +DISTRIO_BASE = ../../ + +DISTRIO_COMMON := $(DISTRIO_BASE)common +DISTRIO_IO := $(DISTRIO_BASE)io/lib CFLAGS += -fPIC -I$(DISTRIO_COMMON) -I$(DISTRIO_IO) CXXFLAGS += $(CFLAGS) @@ -24,7 +26,8 @@ all: $(OBJ) .PHONY: idl idl: - $(TAO_IDL) -GI -I../../interfaces ../../interfaces/$(COMPONENT).idl + $(TAO_IDL) -GI -I$(DISTRIO_BASE)interfaces \ + $(DISTRIO_BASE)interfaces/$(COMPONENT).idl rm -f $(COMPONENT)I.cpp .PHONY: idl_clean |
