Commit 667e44b1 authored by Ivan Tyagov's avatar Ivan Tyagov

Can not use same name twice.

parent 8d805496
CC=arm-linux-gnueabihf-gcc CC=arm-linux-gnueabihf-gcc
CFLAGS= -I $(OPEN62541_SOURCE_HOME) CFLAGS= -I $(OPEN62541_SOURCE_HOME)
LDFLAGS= -L $(OPEN62541_HOME)/lib LDFLAGS= -L $(OPEN62541_HOME)/lib
OUT_DIR=$(OUT_DIR) OUT_DIR= $(BINARY_OUT_DIR)
server: server.c server: server.c
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) -std=c99 $(OPEN62541_SOURCE_HOME)/open62541.c $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) -std=c99 $(OPEN62541_SOURCE_HOME)/open62541.c
......
...@@ -48,7 +48,7 @@ path = ${osie-repository:location}/coupler/opc-ua-server/ ...@@ -48,7 +48,7 @@ path = ${osie-repository:location}/coupler/opc-ua-server/
environment = environment =
OPEN62541_HOME = ${open62541:location} OPEN62541_HOME = ${open62541:location}
OPEN62541_SOURCE_HOME = ${open62541-source:location} OPEN62541_SOURCE_HOME = ${open62541-source:location}
OUT_DIR = ${buildout:directory}/bin BINARY_OUT_DIR = ${buildout:directory}/bin
# actually configure-command is useless here but needed by convention # actually configure-command is useless here but needed by convention
configure-command = configure-command =
${cmake:location}/bin/cmake ${cmake:location}/bin/cmake
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment