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
nexedi
osie
Commits
524eff9c
Commit
524eff9c
authored
Feb 01, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store generate application in bin/ folder relative to current location.
parent
589793db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
coupler/opc-ua-server/Makefile
coupler/opc-ua-server/Makefile
+4
-3
No files found.
coupler/opc-ua-server/Makefile
View file @
524eff9c
...
...
@@ -2,16 +2,17 @@ CC=gcc
CFLAGS
=
-I
$(OPEN62541_SOURCE_HOME)
LDFLAGS
=
-L
$(OPEN62541_HOME)
/lib
EXTRA_FLAGS
=
$(C_COMPILER_EXTRA_FLAGS)
OUT_DIR
=
$(BINARY_OUT_DIR)
OUT_DIR
=
bin
server
:
server.c
$(CC)
-o
$@
$^
$(CFLAGS)
$(LDFLAGS)
-std
=
c99
$(EXTRA_FLAGS)
install
:
@
cp
server
$(OUT_DIR)
mkdir
-p
$(OUT_DIR)
@
cp
server
$(OUT_DIR)
/
@
rm
server
clean
:
@
rm
$(OUT_DIR)
server 2>/dev/null
||
true
@
rm
$(OUT_DIR)
/
server 2>/dev/null
||
true
.PHONY
:
clean
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