summaryrefslogtreecommitdiff
path: root/cpp/examples/qmf-agent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/qmf-agent/Makefile')
-rw-r--r--cpp/examples/qmf-agent/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/examples/qmf-agent/Makefile b/cpp/examples/qmf-agent/Makefile
index 0fc7ece413..4c5daa6888 100644
--- a/cpp/examples/qmf-agent/Makefile
+++ b/cpp/examples/qmf-agent/Makefile
@@ -25,7 +25,7 @@ OUT_FILE = $(SRC_DIR)/qmf-agent
CC = gcc
LIB_DIR = $(QPID_DIR)/cpp/src/.libs
-CC_INCLUDES = -I$(SRC_DIR) -I$(QPID_DIR)/cpp/src -I$(QPID_DIR)/cpp/src/gen -I$(GEN_DIR)/org/apache/qpid/agent/example
+CC_INCLUDES = -I$(SRC_DIR) -I$(QPID_DIR)/cpp/src -I$(QPID_DIR)/cpp/src/gen -I$(GEN_DIR)
CC_FLAGS = -g -O3
LD_FLAGS = -lqmfagent -L$(LIB_DIR)
SPEC_DIR = $(QPID_DIR)/specs
@@ -37,7 +37,7 @@ vpath %.d $(OBJ_DIR)
vpath %.o $(OBJ_DIR)
cpps = $(wildcard $(SRC_DIR)/*.cpp)
-cpps += $(wildcard $(GEN_DIR)/org/apache/qpid/agent/example/*.cpp)
+cpps += $(wildcard $(GEN_DIR)/qmf/org/apache/qpid/agent/example/*.cpp)
deps = $(addsuffix .d, $(basename $(cpps)))
objects = $(addsuffix .o, $(basename $(cpps)))
@@ -51,7 +51,7 @@ all: gen
@$(MAKE)
gen:
- $(MGEN) -o $(GEN_DIR) $(SCHEMA_FILE)
+ $(MGEN) -o $(GEN_DIR)/qmf $(SCHEMA_FILE)
clean:
rm -rf $(GEN_DIR) $(OUT_FILE) *.d *.o