Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
util
sequencer
calc-mean-orbit-hor
Commits
fc87c140
Commit
fc87c140
authored
Aug 05, 2021
by
Lorenzo Pivetta
Browse files
Fix Makefile
parent
e5251106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fc87c140
...
...
@@ -7,8 +7,8 @@ PY_FILES += $(wildcard src/*.py)
default
:
bin ${PY_FILES}
@
cp
${PY_FILES}
bin/
${DIRNAME}
@
ln
-s
${DIRNAME}
/
${MAIN}
bin/
${NAME}
@
chmod
+x bin/
${DIRNAME}
/
${MAIN}
@
echo
"#!/usr/bin/env python
\n
import sys
\n
sys.path.append(sys.path[0]+'/
${DIRNAME}
')
\n
from
${MODNAME}
import main
\n
if __name__ == '__main__':
\n
main()
\n
"
>
bin/
${NAME}
@
chmod
+x
bin/
${NAME}
bin/
${DIRNAME}
/
${MAIN}
bin
:
@
test
-d
$@
||
mkdir
-p
$@
/
${DIRNAME}
...
...
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