diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-07 13:52:08 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-07 13:52:08 +0200 |
| commit | 986a4e78ce5461dc0ada66169bb9111fb0346c46 (patch) | |
| tree | ff2c7cf1740688313547190fa7626e4543483538 /common/Makefile | |
| parent | e84faa1a220ebdcf79a3d95e539dfc8d86a8c460 (diff) | |
cleanup project structure
move some subprojects
fixup makefiles
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'common/Makefile')
| -rw-r--r-- | common/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile index e22ebed..c869a74 100644 --- a/common/Makefile +++ b/common/Makefile @@ -2,8 +2,10 @@ CC := $(CROSS_COMPILE)gcc CXX := $(CROSS_COMPILE)g++ LD := $(CROSS_COMPILE)g++ -DISTRIO_IO = ../io -DISTRIO_MANAGER = ../manager/lib +DISTRIO_BASE = ../ + +DISTRIO_IO = $(DISTRIO_BASE)io/lib +DISTRIO_MANAGER = $(DISTRIO_BASE)manager/lib CFLAGS += -fPIC -I. -I$(DISTRIO_IO) -I$(DISTRIO_MANAGER) 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 |
