Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
05d12524
Commit
05d12524
authored
21 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
tinkering only
parent
b4a47ceb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/makefile
+37
-5
37 additions, 5 deletions
src/makefile
with
37 additions
and
5 deletions
src/makefile
+
37
−
5
View file @
05d12524
...
...
@@ -8,12 +8,12 @@
# Add directories to this list as they are sorted out.
MAKE_DIRS
=
zmapmanager
all
:
platform
all
:
makebindir
@
for
d
in
$(
MAKE_DIRS
);
do
\
(
cd
$$
d
;
echo
;
echo
'make '
$@
' in '
$$
d
;
$(
MAKE
)
$@
;
echo
)
;
\
done
clean
:
forcemake platform
clean
:
@
for
d
in
$(
MAKE_DIRS
);
do
\
(
cd
$$
d
;
echo
;
echo
'make '
$@
' in '
$$
d
;
$(
MAKE
)
$@
;
echo
)
;
\
done
...
...
@@ -26,6 +26,38 @@ clean: forcemake platform
# some of its own commonly used rules.
#
ROOT_DIRECTORY
=
.
MAKEDEFS_DIR
=
$(
ROOT_DIRECTORY
)
/zmapMake
include
$(MAKEDEFS_DIR)/common.make
include
$(MAKEDEFS_FILE)
MAKE_DIR
=
$(
ROOT_DIRECTORY
)
/zmapMake
include
$(MAKE_DIR)/common.make
# actually this is all more trouble than its worth really...it would be better
# to have it in a build script really or a totally separate make file...as is
# done in acedb....Think about how to do this more elegantly...
#
# Dependency used by all makes to check that environment variable ZMAP_PLATFORM
# has been set and that the platform defs file actually exists in the make
# defs directory.
#
platform
:
@
if
[
"
$(
ZMAP_PLATFORM
)
"
-a
-f
$(
MAKEDEFS_FILE
)
]
;
\
then
\
if
test
!
-d
$(
BINDIR
)
;
\
then
\
echo
;
\
echo
"making "
$(
BINDIR
)
" directory"
;
\
mkdir
$(
BINDIR
)
;
\
fi
\
else
\
echo
;
\
echo
'To compile you must set the environment variable "ZMAP_PLATFORM"'
;
\
echo
'to one of the following:'
;
\
echo
;
cd
$(
MAKEDEFS_DIR
)
;
\
for
i
in
`
ls
*
$(
MAKEDEFS_SUFFIX
)
`
;
do
\
echo
`
basename
$$
i
$(
MAKEDEFS_SUFFIX
)
`
;
\
done
;
\
echo
;
exit
1
;
\
fi
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