Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
57e184ca
Commit
57e184ca
authored
Feb 14, 2020
by
Azat Khuziyakhmetov
Browse files
minor fixes in setuid-runner makefile
parent
0541b0fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
setuid-runner/Makefile
View file @
57e184ca
...
...
@@ -4,6 +4,9 @@ CXXFLAGS = -Wall -pedantic -std=c++11
PYINC
:=
$(
shell
python3-config
--includes
)
PYLIBS
:=
$(
shell
python3-config
--ldflags
)
# You can set this to use rpath for Python libraries for instance
LDFLAGS
:=
TARGETS
=
setuid-runner
SRC
=
setuid-runner.cpp
...
...
@@ -16,7 +19,7 @@ $(OBJ): $(SRC)
$(CXX)
$(PYINC)
$(CXXFLAGS)
-c
$(SRC)
setuid-runner
:
$(OBJ)
$(CXX)
-o
$@
$(OBJ)
$(PYLIBS)
$(CXX)
$(LDFLAGS)
-o
$@
$(OBJ)
$(PYLIBS)
clean
:
rm
-f
*
.o
$(TARGETS)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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