Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
osie
Commits
7f34032b
Commit
7f34032b
authored
Nov 22, 2021
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make a bit more configurable and allow to set open62541's home folder.
parent
c1a81987
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
coupler/opc-ua-server/Makefile
coupler/opc-ua-server/Makefile
+6
-4
No files found.
coupler/opc-ua-server/Makefile
View file @
7f34032b
CC
=
arm-linux-gnueabihf-gcc
CC
=
arm-linux-gnueabihf-gcc
CFLAGS
=
-I
.
OPEN62541_HOME
=
/home/ivan/open62541
CFLAGS
=
-I
$(OPEN62541_HOME)
/build
LDFLAGS
=
-L
$(OPEN62541_HOME)
/build/bin
OUT_DIR
=
bin/
OUT_DIR
=
bin/
server
:
server.c
open62541.c
server
:
server.c
$(CC)
-o
$@
$^
$(CFLAGS)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LDFLAGS)
-std
=
c99
$(OPEN62541_HOME)
/build/open62541.c
@
cp
server
$(OUT_DIR)
@
cp
server
$(OUT_DIR)
@
rm
server
@
rm
server
clean
:
clean
:
@
rm
$(OUT_DIR)
server 2>/dev/null
||
true
@
rm
$(OUT_DIR)
server 2>/dev/null
||
true
.PHONY
:
clean
.PHONY
:
clean
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment