Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
cmm
Commits
f22d1ee8
Commit
f22d1ee8
authored
4 years ago
by
Lorenzo Pivetta
Browse files
Options
Downloads
Patches
Plain Diff
Update Makefile
parent
b887530f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+10
-5
10 additions, 5 deletions
Makefile
with
10 additions
and
5 deletions
Makefile
+
10
−
5
View file @
f22d1ee8
NAME_SRV
=
cmm
NAME
=
cmm-srv
MAIN
=
Cmm.py
DIRNAME
=
$(
NAME:-srv
=
)
PY_FILES
+=
$(
wildcard src/
*
.py
)
PY_FILES
+=
$(
wildcard src/
*
.py
)
default
:
bin/${NAME_SRV} ${PY_FILES}
default
:
bin ${PY_FILES}
@
cp
${
PY_FILES
}
bin/
${
NAME_SRV
}
@
cp
${
PY_FILES
}
bin/
${
DIRNAME
}
@
echo
"#!/bin/bash
\n
exec
${
DIRNAME
}
/
${
MAIN
}
"
>
bin/
${
NAME
}
@
chmod
+x bin/
${
NAME
}
bin/
${
DIRNAME
}
/
${
MAIN
}
bin
/${NAME_SRV}
:
bin
:
@
test
-d
$@
||
mkdir
hier
$@
@
test
-d
$@
||
mkdir
-p
$@
/
${
DIRNAME
}
clean
:
clean
:
@
rm
-fr
bin/ src/
*
~
@
rm
-fr
bin/ src/
*
~
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment